Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | ParentCacheEntry |
struct | TSTree |
Functions | |
TSTree * | ts_tree_new (Subtree root, const TSLanguage *language, const TSRange *, unsigned) |
TSNode | ts_node_new (const TSTree *, const Subtree *, Length, TSSymbol) |
TSNode ts_node_new | ( | const TSTree * | tree, |
const Subtree * | subtree, | ||
Length | position, | ||
TSSymbol | alias | ||
) |
Definition at line 17 of file node.c.
References Length::bytes, TSPoint::column, Length::extent, and TSPoint::row.
Referenced by ts_node__null(), ts_node_child_iterator_next(), ts_tree_cursor_current_node(), ts_tree_cursor_parent_node(), and ts_tree_root_node().
TSTree* ts_tree_new | ( | Subtree | root, |
const TSLanguage * | language, | ||
const TSRange * | included_ranges, | ||
unsigned | included_range_count | ||
) |
Definition at line 8 of file tree.c.
References TSTree::included_range_count, TSTree::included_ranges, TSTree::language, memcpy(), TSTree::root, root, ts_calloc, and ts_malloc.
Referenced by ts_parser_parse(), and ts_tree_copy().