Rizin
unix-like reverse engineering framework and cli tools
|
#include "./subtree.h"
Go to the source code of this file.
Classes | |
struct | StackEntry |
struct | ReusableNode |
Functions | |
static ReusableNode | reusable_node_new (void) |
static void | reusable_node_clear (ReusableNode *self) |
static Subtree | reusable_node_tree (ReusableNode *self) |
static uint32_t | reusable_node_byte_offset (ReusableNode *self) |
static void | reusable_node_delete (ReusableNode *self) |
static void | reusable_node_advance (ReusableNode *self) |
static bool | reusable_node_descend (ReusableNode *self) |
static void | reusable_node_advance_past_leaf (ReusableNode *self) |
static void | reusable_node_reset (ReusableNode *self, Subtree tree) |
|
inlinestatic |
Definition at line 39 of file reusable_node.h.
References array_back, array_pop, array_push, StackEntry::byte_offset, StackEntry::child_index, StackEntry::tree, ts_subtree_child_count(), ts_subtree_has_external_tokens(), ts_subtree_last_external_token(), and ts_subtree_total_bytes().
Referenced by reusable_node_advance_past_leaf(), ts_parser__advance(), and ts_parser__reuse_node().
|
inlinestatic |
Definition at line 76 of file reusable_node.h.
References reusable_node_advance(), and reusable_node_descend().
Referenced by ts_parser__reuse_node().
|
inlinestatic |
Definition at line 29 of file reusable_node.h.
References UINT32_MAX.
Referenced by ts_parser__reuse_node().
|
inlinestatic |
Definition at line 18 of file reusable_node.h.
References array_clear, and NULL_SUBTREE.
Referenced by reusable_node_reset(), ts_parser_parse(), and ts_parser_reset().
|
inlinestatic |
Definition at line 35 of file reusable_node.h.
References array_delete.
Referenced by ts_parser_delete().
|
inlinestatic |
Definition at line 62 of file reusable_node.h.
References array_back, array_push, StackEntry::tree, and ts_subtree_child_count().
Referenced by reusable_node_advance_past_leaf(), reusable_node_reset(), ts_parser__breakdown_lookahead(), and ts_parser__reuse_node().
|
inlinestatic |
Definition at line 14 of file reusable_node.h.
References array_new, and NULL_SUBTREE.
Referenced by parser__start(), and ts_parser_new().
|
inlinestatic |
Definition at line 81 of file reusable_node.h.
References array_push, reusable_node_clear(), and reusable_node_descend().
Referenced by ts_parser_parse().
|
inlinestatic |
Definition at line 23 of file reusable_node.h.
References NULL_SUBTREE.
Referenced by ts_parser__breakdown_lookahead(), and ts_parser__reuse_node().