updating to work on header+source combnined combo

This commit is contained in:
Maieul BOYER 2024-05-01 17:07:19 +02:00
parent 86b5025fb0
commit 39c1c5026a
No known key found for this signature in database
40 changed files with 13728 additions and 26716 deletions

View file

@ -1,31 +0,0 @@
#ifndef TREE_SITTER_TREE_H_
#define TREE_SITTER_TREE_H_
#include "./subtree.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
const Subtree *child;
const Subtree *parent;
Length position;
t_symbol alias_symbol;
} ParentCacheEntry;
struct t_tree {
Subtree root;
const t_language *language;
t_range *included_ranges;
unsigned included_range_count;
};
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
}
#endif
#endif // TREE_SITTER_TREE_H_