Replace general array_reverse with ts_tree_array_reverse

This commit is contained in:
Max Brunsfeld 2017-07-24 21:02:26 -07:00
parent 2854983342
commit b98669c7e6
4 changed files with 12 additions and 17 deletions

View file

@ -86,6 +86,7 @@ void ts_tree_array_delete(TreeArray *);
uint32_t ts_tree_array_essential_count(const TreeArray *);
TreeArray ts_tree_array_remove_last_n(TreeArray *, uint32_t);
TreeArray ts_tree_array_remove_trailing_extras(TreeArray *);
void ts_tree_array_reverse(TreeArray *);
Tree *ts_tree_make_leaf(TSSymbol, Length, Length, const TSLanguage *);
Tree *ts_tree_make_node(TSSymbol, uint32_t, Tree **, unsigned, const TSLanguage *);