Skip to main content

Crate tl_ast

Crate tl_ast 

Source

Structs§

EnumVariant
Enum variant definition
MatchArm
A match arm: pattern [if guard] => body
Param
Function parameter
Program
A complete TL program is a list of statements
SchemaField
Schema field definition
Stmt
A statement with source location information.
StructPatternField
A field in a struct destructuring pattern.
TraitBound
A trait bound on a type parameter: T: Comparable + Hashable
TraitMethod
A method signature within a trait definition

Enums§

Annotation
Annotation on schema/struct fields
BinOp
Binary operators
ClosureBody
Closure body: either a single expression or a block with statements.
Expr
Expressions
MigrateOp
Schema migration operation
Pattern
A pattern for match arms and let-destructuring. Identifiers in pattern position are bindings (create new variables), not value references. Use literals, enum variants, or guards for comparison.
StmtKind
Statement variants
TypeExpr
Type expressions (Phase 0: basic types only)
UnaryOp
Unary operators
UseItem
A use-import target
WindowSpec
Window specification for stream processing