Add ts_document_invalidate, for forcing a full re-parse
This commit is contained in:
parent
1983bcfb60
commit
0955f660d0
3 changed files with 24 additions and 9 deletions
|
|
@ -73,8 +73,9 @@ void ts_document_set_input(TSDocument *, TSInput);
|
|||
void ts_document_set_input_string(TSDocument *, const char *);
|
||||
TSDebugger ts_document_debugger(const TSDocument *);
|
||||
void ts_document_set_debugger(TSDocument *, TSDebugger);
|
||||
void ts_document_parse(TSDocument *);
|
||||
void ts_document_edit(TSDocument *, TSInputEdit);
|
||||
void ts_document_parse(TSDocument *);
|
||||
void ts_document_invalidate(TSDocument *);
|
||||
TSNode ts_document_root_node(const TSDocument *);
|
||||
size_t ts_document_parse_count(const TSDocument *);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue