Rizin
unix-like reverse engineering framework and cli tools
|
#include <subtree.h>
Public Attributes | |
volatile uint32_t | ref_count |
Length | padding |
Length | size |
uint32_t | lookahead_bytes |
uint32_t | error_cost |
uint32_t | child_count |
TSSymbol | symbol |
TSStateId | parse_state |
bool | visible: 1 |
bool | named: 1 |
bool | extra: 1 |
bool | fragile_left: 1 |
bool | fragile_right: 1 |
bool | has_changes: 1 |
bool | has_external_tokens: 1 |
bool | depends_on_column: 1 |
bool | is_missing: 1 |
bool | is_keyword: 1 |
union { | |
struct { | |
uint32_t visible_child_count | |
uint32_t named_child_count | |
uint32_t node_count | |
uint32_t repeat_depth | |
int32_t dynamic_precedence | |
uint16_t production_id | |
struct { | |
TSSymbol symbol | |
TSStateId parse_state | |
} first_leaf | |
} | |
ExternalScannerState external_scanner_state | |
int32_t lookahead_char | |
}; | |
union { ... } |
uint32_t SubtreeHeapData::child_count |
Definition at line 117 of file subtree.h.
Referenced by ts_subtree__compress(), ts_subtree_balance(), ts_subtree_edit(), ts_subtree_external_scanner_state_eq(), ts_subtree_last_external_token(), ts_subtree_release(), and ts_tree_cursor_current_status().
bool SubtreeHeapData::depends_on_column |
Definition at line 128 of file subtree.h.
Referenced by ts_subtree_edit(), and ts_subtree_summarize_children().
int32_t SubtreeHeapData::dynamic_precedence |
Definition at line 139 of file subtree.h.
Referenced by ts_parser__reduce().
uint32_t SubtreeHeapData::error_cost |
Definition at line 116 of file subtree.h.
Referenced by ts_subtree_edit().
ExternalScannerState SubtreeHeapData::external_scanner_state |
Definition at line 148 of file subtree.h.
Referenced by ts_parser__restore_external_scanner(), ts_subtree_clone(), ts_subtree_external_scanner_state_eq(), and ts_subtree_release().
bool SubtreeHeapData::extra |
Definition at line 123 of file subtree.h.
Referenced by ts_parser__reduce(), ts_subtree_edit(), and ts_subtree_new_error_node().
struct { ... } SubtreeHeapData::first_leaf |
Referenced by ts_subtree_summarize_children().
bool SubtreeHeapData::fragile_left |
Definition at line 124 of file subtree.h.
Referenced by ts_parser__reduce(), ts_subtree_edit(), and ts_subtree_new_error().
bool SubtreeHeapData::fragile_right |
Definition at line 125 of file subtree.h.
Referenced by ts_parser__reduce(), ts_subtree_edit(), and ts_subtree_new_error().
bool SubtreeHeapData::has_changes |
Definition at line 126 of file subtree.h.
Referenced by ts_subtree_edit().
bool SubtreeHeapData::has_external_tokens |
Definition at line 127 of file subtree.h.
Referenced by ts_subtree_edit(), and ts_subtree_release().
bool SubtreeHeapData::is_keyword |
Definition at line 130 of file subtree.h.
Referenced by ts_subtree_edit().
bool SubtreeHeapData::is_missing |
Definition at line 129 of file subtree.h.
Referenced by ts_subtree_edit().
uint32_t SubtreeHeapData::lookahead_bytes |
Definition at line 115 of file subtree.h.
Referenced by ts_subtree_edit().
int32_t SubtreeHeapData::lookahead_char |
Definition at line 151 of file subtree.h.
Referenced by ts_subtree_new_error().
bool SubtreeHeapData::named |
Definition at line 122 of file subtree.h.
Referenced by ts_subtree_edit().
uint32_t SubtreeHeapData::named_child_count |
Definition at line 136 of file subtree.h.
Referenced by ts_node__relevant_child_count(), ts_node_named_child_count(), ts_subtree_summarize_children(), and ts_tree_cursor_current_status().
Length SubtreeHeapData::padding |
Definition at line 113 of file subtree.h.
Referenced by ts_subtree_edit().
TSStateId SubtreeHeapData::parse_state |
Definition at line 119 of file subtree.h.
Referenced by ts_parser__reduce(), and ts_subtree_edit().
uint16_t SubtreeHeapData::production_id |
Definition at line 140 of file subtree.h.
Referenced by iterator_get_visible_state(), iterator_tree_is_visible(), ts_node_iterate_children(), ts_parser__accept(), ts_tree_cursor_current_field_id(), ts_tree_cursor_current_node(), ts_tree_cursor_current_status(), ts_tree_cursor_goto_parent(), ts_tree_cursor_iterate_children(), and ts_tree_cursor_parent_node().
Definition at line 112 of file subtree.h.
Referenced by ts_subtree__compress(), ts_subtree_balance(), ts_subtree_clone(), ts_subtree_edit(), ts_subtree_new_leaf(), ts_subtree_new_node(), and ts_subtree_release().
uint32_t SubtreeHeapData::repeat_depth |
Definition at line 138 of file subtree.h.
Referenced by ts_subtree_balance().
Length SubtreeHeapData::size |
Definition at line 114 of file subtree.h.
Referenced by ts_subtree_edit().
TSSymbol SubtreeHeapData::symbol |
Definition at line 118 of file subtree.h.
Referenced by ts_subtree__compress(), and ts_subtree_edit().
bool SubtreeHeapData::visible |
Definition at line 121 of file subtree.h.
Referenced by ts_subtree_edit().
uint32_t SubtreeHeapData::visible_child_count |
Definition at line 135 of file subtree.h.
Referenced by ts_node__relevant_child_count(), ts_node_child_count(), and ts_subtree_summarize_children().