Crate ast

Source

Modules§

expr
span
stmt
token

Structs§

Annotation
BinaryExpr
Expr
Expr is anything that has a value and thus a type. Most of these can contain other Expr themselves; literals should be ExprKind::Literal.
Func
Function called with possibly missing positional arguments. May also contain environment that is needed to evaluate the body.
FuncCall
Function call.
FuncParam
GenericTypeParam
Ident
A name. Generally columns, tables, functions, variables. This is glorified way of writing a “vec with at least one element”.
ImportDef
ModuleDef
Pipeline
A value and a series of functions that are to be applied to that value one after another.
QueryDef
Span
Stmt
Token
Ty
TyFunc
TypeDef
UnaryExpr
ValueAndUnit
VarDef

Enums§

BinOp
ExprKind
IndirectionKind
Literal
PrimitiveSet
Built-in sets.
StmtKind
TokenKind
TyKind
TyTupleField
UnOp
VarDefKind

Functions§

string_stream

Type Aliases§

InterpolateItem
Range
SwitchCase