Skip to main content

Module ast

Module ast 

Source
Expand description

Aura AST (SPEC §3.1). Zero-copy: names and strings are slices of the source.

Structs§

BlockDeclaration
EnumDeclaration
D18: enum Tier "frontend" "backend" end — a validation constraint, not a wrapper type: values stay ordinary strings and serialize as such.
Import
Module
ObjectBody
SchemaDeclaration
SchemaField
A schema field. default = Some(expr) makes the field optional: if omitted at new, the default expression is evaluated in the instantiation scope. A field with no default is required (E0511 if missing). No nullable (?) fields yet.

Enums§

BinOp
BlockKind
Expr
ImportSource
LambdaBody
LitValue
Stmt
TypeName
UnaryOp