Use explicit stack for assigning trees' parent pointers
This commit is contained in:
parent
00528e50ce
commit
fcf9293d35
4 changed files with 24 additions and 19 deletions
|
|
@ -67,7 +67,7 @@ int ts_tree_compare(const TSTree *tree1, const TSTree *tree2);
|
|||
size_t ts_tree_start_column(const TSTree *self);
|
||||
size_t ts_tree_end_column(const TSTree *self);
|
||||
void ts_tree_set_children(TSTree *, size_t, TSTree **);
|
||||
void ts_tree_assign_parents(TSTree *);
|
||||
bool ts_tree_assign_parents(TSTree *, TreeArray *);
|
||||
void ts_tree_edit(TSTree *, const TSInputEdit *edit);
|
||||
char *ts_tree_string(const TSTree *, const TSLanguage *, bool include_all);
|
||||
void ts_tree_print_dot_graph(const TSTree *, const TSLanguage *, FILE *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue