Add Document parse_count() method, for tracking if trees are still valid

This commit is contained in:
Max Brunsfeld 2015-09-10 14:23:42 -07:00
parent 2869458ce9
commit 66ad271c82
4 changed files with 17 additions and 0 deletions

View file

@ -9,6 +9,7 @@ struct TSDocument {
TSParser parser;
TSInput input;
TSTree *tree;
size_t parse_count;
};
#endif