1 Star 0 Fork 0

jhkwei/Cal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CalPaser2.h 620 Bytes
一键复制 编辑 原始数据 按行查看 历史
jhkwei 提交于 2022-09-16 00:15 . cal
//CalParse2.h
#ifndef LEXPASER_H
#define LEXPASER_H
#include "CalLex.h"
#include "List.h"
struct CalTree{
struct Token token;
struct List *list;
struct CalTree *parent;
};
struct CalTree *caltree_new();
void caltree_free(struct CalTree *tree);
struct CalTree * caltree_add(struct CalTree *tree,struct Token *token);
int caltee_num(struct CalTree *tree);
struct Token *caltree_child(struct CalTree *tree, int index);
int caltree_remove(struct CalTree *tree, int index);
int caltree_remove_num(struct CalTree *tree, int index,int num);
int cal_parser(char *data, int size);
#endif // LEXPASER_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/jhkwei/cal.git
git@gitee.com:jhkwei/cal.git
jhkwei
cal
Cal
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385