Updated Grammar
This commit is contained in:
parent
74d642f297
commit
175efe0f2f
1246 changed files with 109558 additions and 114993 deletions
|
|
@ -554,6 +554,12 @@ TSNode ts_node_child(TSNode self, uint32_t child_index);
|
|||
*/
|
||||
const char *ts_node_field_name_for_child(TSNode self, uint32_t child_index);
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
TSFieldId ts_node_field_id_for_child(TSNode self, uint32_t child_index);
|
||||
|
||||
/**
|
||||
* Get the node's number of children.
|
||||
*/
|
||||
|
|
@ -643,9 +649,6 @@ void ts_node_edit(TSNode *self, const TSInputEdit *edit);
|
|||
*/
|
||||
bool ts_node_eq(TSNode self, TSNode other);
|
||||
|
||||
|
||||
|
||||
|
||||
/**********************/
|
||||
/* Section - Language */
|
||||
/**********************/
|
||||
|
|
@ -720,7 +723,4 @@ uint32_t ts_language_version(const TSLanguage *self);
|
|||
*/
|
||||
TSStateId ts_language_next_state(const TSLanguage *self, TSStateId state, TSSymbol symbol);
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // TREE_SITTER_API_H_
|
||||
|
|
|
|||
9497
parser/src/lex.c
9497
parser/src/lex.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue