Add an API for getting a node's child index
This commit is contained in:
parent
f653f2b3bb
commit
315dff3285
3 changed files with 32 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ TSNode ts_node_child(TSNode, uint32_t);
|
|||
TSNode ts_node_named_child(TSNode, uint32_t);
|
||||
uint32_t ts_node_child_count(TSNode);
|
||||
uint32_t ts_node_named_child_count(TSNode);
|
||||
uint32_t ts_node_child_index(TSNode);
|
||||
TSNode ts_node_next_sibling(TSNode);
|
||||
TSNode ts_node_next_named_sibling(TSNode);
|
||||
TSNode ts_node_prev_sibling(TSNode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue