Rizin
unix-like reverse engineering framework and cli tools
QueryStep Struct Reference

Public Attributes

TSSymbol symbol
 
TSSymbol supertype_symbol
 
TSFieldId field
 
uint16_t capture_ids [MAX_STEP_CAPTURE_COUNT]
 
uint16_t depth
 
uint16_t alternative_index
 
uint16_t negated_field_list_id
 
bool is_named: 1
 
bool is_immediate: 1
 
bool is_last_child: 1
 
bool is_pass_through: 1
 
bool is_dead_end: 1
 
bool alternative_is_immediate: 1
 
bool contains_captures: 1
 
bool root_pattern_guaranteed: 1
 
bool parent_pattern_guaranteed: 1
 

Detailed Description

Definition at line 85 of file query.c.

Member Data Documentation

◆ alternative_index

uint16_t QueryStep::alternative_index

◆ alternative_is_immediate

bool QueryStep::alternative_is_immediate

Definition at line 98 of file query.c.

Referenced by ts_query__parse_pattern(), and ts_query_cursor__advance().

◆ capture_ids

uint16_t QueryStep::capture_ids[MAX_STEP_CAPTURE_COUNT]

Definition at line 89 of file query.c.

Referenced by ts_query__analyze_patterns(), and ts_query_cursor__advance().

◆ contains_captures

bool QueryStep::contains_captures

Definition at line 99 of file query.c.

◆ depth

◆ field

TSFieldId QueryStep::field

Definition at line 88 of file query.c.

◆ is_dead_end

bool QueryStep::is_dead_end

◆ is_immediate

bool QueryStep::is_immediate

Definition at line 94 of file query.c.

◆ is_last_child

bool QueryStep::is_last_child

Definition at line 95 of file query.c.

◆ is_named

bool QueryStep::is_named

Definition at line 93 of file query.c.

◆ is_pass_through

bool QueryStep::is_pass_through

◆ negated_field_list_id

uint16_t QueryStep::negated_field_list_id

Definition at line 92 of file query.c.

◆ parent_pattern_guaranteed

bool QueryStep::parent_pattern_guaranteed

Definition at line 101 of file query.c.

Referenced by ts_query__analyze_patterns(), and ts_query__step_is_fallible().

◆ root_pattern_guaranteed

bool QueryStep::root_pattern_guaranteed

Definition at line 100 of file query.c.

Referenced by ts_query__analyze_patterns(), and ts_query_cursor__advance().

◆ supertype_symbol

TSSymbol QueryStep::supertype_symbol

Definition at line 87 of file query.c.

◆ symbol

TSSymbol QueryStep::symbol

Definition at line 86 of file query.c.

Referenced by query_step__new(), and ts_query_new().


The documentation for this struct was generated from the following file: