Move tree sexp function back to tree, for easier use in debugger
This commit is contained in:
parent
0d19f157ed
commit
1fb6065f02
3 changed files with 60 additions and 61 deletions
|
|
@ -64,6 +64,7 @@ void ts_tree_set_children(TSTree *, size_t, TSTree **);
|
|||
void ts_tree_assign_parents(TSTree *);
|
||||
void ts_tree_edit(TSTree *, TSInputEdit);
|
||||
void ts_tree_steal_padding(TSTree *, TSTree *);
|
||||
char *ts_tree_string(const TSTree *, const TSLanguage *, bool include_all);
|
||||
|
||||
static inline size_t ts_tree_total_chars(const TSTree *self) {
|
||||
return self->padding.chars + self->size.chars;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue