Add ability to edit multiple times between parses
This commit is contained in:
parent
6254f45c1b
commit
f37f73f92f
13 changed files with 135 additions and 119 deletions
|
|
@ -178,6 +178,10 @@ bool ts_node_is_named(TSNode this) {
|
|||
return ts_node__tree(this)->options.type == TSNodeTypeNamed;
|
||||
}
|
||||
|
||||
bool ts_node_has_changes(TSNode this) {
|
||||
return ts_node__tree(this)->options.has_changes;
|
||||
}
|
||||
|
||||
TSNode ts_node_parent(TSNode this) {
|
||||
const TSTree *tree = ts_node__tree(this);
|
||||
TSLength position = ts_node__offset(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue