updating to work on header+source combnined combo
This commit is contained in:
parent
86b5025fb0
commit
39c1c5026a
40 changed files with 13728 additions and 26716 deletions
|
|
@ -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_
|
||||
Loading…
Add table
Add a link
Reference in a new issue