Add functions to retrieve nodes' siblings and parents
This commit is contained in:
parent
0e11bf7271
commit
1ecafb874e
5 changed files with 69 additions and 63 deletions
|
|
@ -12,7 +12,7 @@ struct TSNode {
|
|||
TSParserConfig *config;
|
||||
};
|
||||
|
||||
TSNode * ts_node_make(const TSTree *tree, TSNode *parent, size_t start_position, TSParserConfig *config);
|
||||
TSNode * ts_node_make(const TSTree *tree, TSNode *parent, size_t index, size_t start_position, TSParserConfig *config);
|
||||
TSNode * ts_node_make_root(const TSTree *tree, TSParserConfig *config);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue