Add tree included ranges getter

Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-11-04 15:24:07 -07:00
parent fb5fbdd787
commit 1848d0bc36
4 changed files with 21 additions and 0 deletions

View file

@ -381,6 +381,8 @@ TSNode ts_tree_root_node_with_offset(
*/
const TSLanguage *ts_tree_language(const TSTree *);
TSRange *ts_tree_included_ranges(const TSTree *, uint32_t *length);
/**
* Edit the syntax tree to keep it in sync with source code that has been
* edited.