Allow creating a tree cursor starting at any node, not just the root
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
This commit is contained in:
parent
35ed21139c
commit
89b6a14d9f
5 changed files with 27 additions and 15 deletions
|
|
@ -15,6 +15,6 @@ typedef struct {
|
|||
const TSTree *tree;
|
||||
} TreeCursor;
|
||||
|
||||
void ts_tree_cursor_init(TreeCursor *, const TSTree *);
|
||||
void ts_tree_cursor_init(TreeCursor *, TSNode);
|
||||
|
||||
#endif // RUNTIME_TREE_CURSOR_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue