Add find_for_range function for Nodes
This commit is contained in:
parent
b1a7886225
commit
cef6827182
3 changed files with 49 additions and 21 deletions
|
|
@ -29,7 +29,8 @@ size_t ts_node_size(const TSNode *);
|
|||
TSSymbol ts_node_sym(const TSNode *);
|
||||
TSNode *ts_node_child(TSNode *, size_t);
|
||||
size_t ts_node_child_count(const TSNode *);
|
||||
TSNode *ts_node_find_pos(TSNode *, size_t);
|
||||
TSNode *ts_node_find_for_pos(TSNode *, size_t);
|
||||
TSNode *ts_node_find_for_range(TSNode *, size_t, size_t);
|
||||
TSNode *ts_node_parent(TSNode *node);
|
||||
TSNode *ts_node_next_sibling(TSNode *node);
|
||||
TSNode *ts_node_prev_sibling(TSNode *node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue