Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | TableEntry |
struct | LookaheadIterator |
Macros | |
#define | ts_builtin_sym_error_repeat (ts_builtin_sym_error - 1) |
#define ts_builtin_sym_error_repeat (ts_builtin_sym_error - 1) |
Definition at line 11 of file language.h.
|
inlinestatic |
Definition at line 45 of file language.h.
References count, and ts_language_table_entry().
Referenced by parser__reductions_after_sequence(), parser__repair_error_callback(), parser__skip_preceding_trees_callback(), ts_language_next_state(), and ts_parser__recover().
|
inlinestatic |
Definition at line 236 of file language.h.
Referenced by iterator_get_visible_state(), iterator_tree_is_visible(), ts_query__analyze_patterns(), ts_tree_cursor_current_field_id(), ts_tree_cursor_current_node(), ts_tree_cursor_goto_parent(), and ts_tree_cursor_parent_node().
|
inlinestatic |
Definition at line 227 of file language.h.
References NULL.
Referenced by ts_node_iterate_children(), ts_subtree__write_to_string(), ts_subtree_summarize_children(), ts_tree_cursor_current_status(), and ts_tree_cursor_iterate_children().
|
inlinestatic |
Definition at line 263 of file language.h.
References count, test_evm::end, i, and start.
Referenced by ts_query__analyze_patterns().
|
inlinestatic |
Definition at line 216 of file language.h.
References NULL.
Referenced by parser__lex(), and ts_parser__lex().
|
inlinestatic |
Definition at line 246 of file language.h.
References test_evm::end, TSFieldMapSlice::index, TSFieldMapSlice::length, NULL, and start.
Referenced by ts_node_child_by_field_id(), ts_node_field_name_for_child(), ts_query__analyze_patterns(), ts_subtree__write_to_string(), ts_tree_cursor_current_field_id(), and ts_tree_cursor_current_status().
|
inlinestatic |
Definition at line 96 of file language.h.
References ts_language_lookup().
Referenced by ts_parser__lex(), and ts_parser__recover().
|
inlinestatic |
Definition at line 57 of file language.h.
References ts_language_table_entry(), and TSParseActionTypeReduce.
Referenced by ts_parser__handle_error().
|
inlinestatic |
Definition at line 41 of file language.h.
|
inlinestatic |
Definition at line 110 of file language.h.
References NULL, and UINT16_MAX.
Referenced by ts_query__analyze_patterns().
|
inlinestatic |
Definition at line 74 of file language.h.
References i.
Referenced by ts_language_has_actions(), ts_language_next_state(), and ts_language_table_entry().
|
inlinestatic |
Definition at line 181 of file language.h.
References test-lz4-speed::action, count, ts_builtin_sym_error, ts_builtin_sym_error_repeat, ts_language_actions(), ts_language_lookup(), and TSParseActionTypeShift.
Referenced by parser__advance(), parser__breakdown_top_of_stack(), parser__reduce(), parser__reductions_after_sequence(), parser__repair_error_callback(), ts_parser__advance(), ts_parser__breakdown_top_of_stack(), ts_parser__handle_error(), and ts_parser__reduce().
TSSymbol ts_language_public_symbol | ( | const TSLanguage * | self, |
TSSymbol | symbol | ||
) |
Definition at line 51 of file language.c.
References ts_builtin_sym_error.
Referenced by ts_node_symbol().
|
inlinestatic |
TSSymbolMetadata ts_language_symbol_metadata | ( | const TSLanguage * | self, |
TSSymbol | symbol | ||
) |
Definition at line 38 of file language.c.
References ts_builtin_sym_error, ts_builtin_sym_error_repeat, and TSSymbolMetadata::visible.
Referenced by parser__halt_parse(), parser__lex(), parser__recover(), parser__reduce(), parser__repair_error(), parser__shift(), ts_language_symbol_for_name(), ts_language_symbol_type(), ts_node__is_relevant(), ts_node_is_named(), ts_query__analyze_patterns(), ts_query__parse_pattern(), ts_subtree__write_to_string(), ts_subtree_new_leaf(), ts_subtree_new_node(), ts_subtree_set_symbol(), ts_subtree_summarize_children(), and ts_tree_cursor_current_status().
void ts_language_table_entry | ( | const TSLanguage * | self, |
TSStateId | state, | ||
TSSymbol | symbol, | ||
TableEntry * | result | ||
) |
Definition at line 18 of file language.c.
References TableEntry::action_count, TableEntry::actions, assert(), TableEntry::is_reusable, NULL, ts_builtin_sym_error, ts_builtin_sym_error_repeat, and ts_language_lookup().
Referenced by parser__advance(), parser__do_potential_reductions(), ts_language_actions(), ts_language_has_reduce_action(), ts_parser__advance(), ts_parser__do_all_potential_reductions(), ts_parser__get_cached_token(), and ts_parser__reuse_node().
|
inlinestatic |