Add tree included ranges getter
Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
fb5fbdd787
commit
1848d0bc36
4 changed files with 21 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue