Updated Grammar

This commit is contained in:
Maieul BOYER 2024-07-01 12:57:51 +02:00
parent 74d642f297
commit 175efe0f2f
No known key found for this signature in database
1246 changed files with 109558 additions and 114993 deletions

View file

@ -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_

File diff suppressed because it is too large Load diff