Skip to main content

Module structural

Module structural 

Source
Expand description

C++ structural spec for query_code.

Structs§

CppCallResultUseIndex
One source-snapshot index of exact C/C++ call spans.
CppStructuralSpec

Constants§

CPP_KIND_TABLE

Statics§

CPP_STRUCTURAL_SPEC

Functions§

callee_spine_step
Grammar steps for the shared call-callee spine. A value expression has no step.
constructor_scope_matches_name
cpp_call_result_use
Classify one exact C or C++ call expression. The C grammar is the same parser route as C++, so the syntax classifier deliberately does not use a source-file extension or a text-search fallback.
declarator_name_node
is_recovered_designator_init_declarator
Whether tree-sitter recovered .field = value as a declaration child pair: an ERROR containing only the anonymous dot immediately followed by an init_declarator whose declarator is a real identifier.
statement_fact_kind
The persisted C++ generator label and the query-time rows share one classifier.