Skip to main content

Module ast

Module ast 

Source

Structs§

BinOp
CteDef
One name := (inner_stmt) binding in a WITH block.
DeleteStmt
ForStmt
for [optional] var in iterator union body
FunctionCall
GroupStmt
IfElse
PyQL expr IF cond ELSE expr ternary.
InsertStmt
LockClause
ObjectRef
Path
A traversal from a root type or property/link through zero or more steps. partial = true when the path starts with ., meaning it is relative to the current object (subject) rather than an absolute type reference.
SelectStmt
ShapeElement
ShapeExpr
A shape expression: Expr { element, element, ... }. expr = None only in INSERT bodies where the subject is implicit.
SortExpr
TupleTypeElement
TypeCast
UnaryOp
UnlessConflict
UpdateStmt
WithStmt

Enums§

BinOpKind
Expr
Literal
LockStrength
LockWait
NonesOrder
PathStep
ShapeOp
The assignment operator used on a shape element in UPDATE SET { … }. Only relevant for multi-link fields; scalar/single-link fields always use Assign.
SortDirection
Splat
Stmt
TypeExpr
A type expression appearing in a cast (<TypeExpr>expr) or a type-is check (expr[is TypeExpr], expr IS TypeExpr).
UnaryOpKind