Skip to main content

Module ast

Module ast 

Source
Expand description

GQL abstract syntax tree.

Structs§

Condition
A scalar comparison in the WHERE clause: variable.property op value.
EdgePattern
An edge binding in the MATCH pattern with optional relation filters, direction, and hop bounds.
GqlQuery
Top-level GQL query node produced by the parser.
MatchPattern
The MATCH pattern of a GQL query, as an alternating sequence of node and edge elements.
NodePattern
A node binding in the MATCH pattern with optional kind, entity_type, and property filters.

Enums§

CompareOp
Comparison operator used in WHERE clause conditions.
ConditionValue
Right-hand side value in a WHERE condition.
EdgeDirection
Traversal direction for an edge in the MATCH pattern.
PatternElement
A single element in the MATCH pattern – either a node or an edge.
QueryValue
A SQL parameter value emitted by the query compiler.
ReturnItem
A single item in the RETURN clause — either a bound variable or a property projection.
WhereExpr
A WHERE expression tree supporting AND, OR, and leaf conditions.