Changing API name; Adding unit test and Rust bindings
This commit is contained in:
parent
bd06b1a8b3
commit
c31acb8fec
4 changed files with 38 additions and 2 deletions
|
|
@ -488,10 +488,10 @@ TSNode ts_node_parent(TSNode);
|
|||
TSNode ts_node_child(TSNode, uint32_t);
|
||||
|
||||
/**
|
||||
* Get the field_name for node's child at the given index, where zero represents
|
||||
* Get the field name for node's child at the given index, where zero represents
|
||||
* the first child. Returns NULL, if no field is found.
|
||||
*/
|
||||
const char *ts_node_child_field_name(TSNode, uint32_t);
|
||||
const char *ts_node_field_name_for_child(TSNode, uint32_t);
|
||||
|
||||
/**
|
||||
* Get the node's number of children.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue