Add Document parse_count() method, for tracking if trees are still valid
This commit is contained in:
parent
2869458ce9
commit
66ad271c82
4 changed files with 17 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ struct TSDocument {
|
|||
TSParser parser;
|
||||
TSInput input;
|
||||
TSTree *tree;
|
||||
size_t parse_count;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue