Start work AGAIN

This commit is contained in:
Maix0 2024-04-30 22:25:51 +02:00
parent 0eb8922770
commit 86b5025fb0
24 changed files with 13158 additions and 892 deletions

View file

@ -11,18 +11,18 @@ typedef struct {
const Subtree *child;
const Subtree *parent;
Length position;
TSSymbol alias_symbol;
t_symbol alias_symbol;
} ParentCacheEntry;
struct TSTree {
struct t_tree {
Subtree root;
const TSLanguage *language;
TSRange *included_ranges;
const t_language *language;
t_range *included_ranges;
unsigned included_range_count;
};
TSTree *ts_tree_new(Subtree root, const TSLanguage *language, const TSRange *, unsigned);
TSNode ts_node_new(const TSTree *, const Subtree *, Length, TSSymbol);
t_tree *ts_tree_new(Subtree root, const t_language *language, const t_range *, unsigned);
t_parse_node ts_node_new(const t_tree *, const Subtree *, Length, t_symbol);
#ifdef __cplusplus
}