Module ast

Module ast 

Source
Expand description

Abstract Syntax Tree for ISO GQL

This module defines the AST structures for ISO GQL queries and statements.

Structs§

ArithmeticExpression
Arithmetic expression
ComparisonExpression
Comparison expression
CreateEdgeStatement
CREATE EDGE statement
CreateGraphStatement
CREATE GRAPH statement
CreateVertexStatement
CREATE VERTEX statement
DropGraphStatement
DROP GRAPH statement
EdgeInsert
Edge insert
EdgePattern
Edge pattern for matching edges
FunctionCall
Function call
GqlQuery
Main query structure
GraphPattern
Graph pattern consisting of path patterns
GroupByClause
GROUP BY clause
HavingClause
HAVING clause
InsertStatement
INSERT statement
LimitClause
LIMIT clause
MatchClause
MATCH clause for graph pattern matching
OrderByClause
ORDER BY clause
PathElement
Path element consisting of vertex and edge patterns
PathPattern
Path pattern for matching paths in the graph
PathQuantifier
Path quantifier for variable-length paths
ReturnClause
RETURN clause
ReturnItem
Return item
SortKey
Sort key
VertexInsert
Vertex insert
VertexPattern
Vertex pattern for matching vertices
WhereClause
WHERE clause for filtering

Enums§

ArithmeticOperator
Arithmetic operators
AstValue
Value types for literals
BooleanExpression
Boolean expression for WHERE conditions
ComparisonOperator
Comparison operators
EdgeDirection
Edge direction
GqlStatement
DDL Statements
PathTerm
Path term (simplified for basic implementation)
QueryClause
Query clauses in order
SortDirection
Sort direction
ValueExpression
Value expression