Skip to main content

Module ast

Module ast 

Source
Expand description

The syntax tree. It records what was written; names and types are checked later.

Structs§

Arg
Block
Expr
File
FnDecl
Ident
IfStmt
NamedElement
A top-level element given a name, such as window settings("Settings") { … }, which code uses to refer to it. call is the element’s call as it reads without the name.
StateDecl
Stmt
StructDecl
TypeExpr
TypedName
name: Type, as used by parameters and struct fields.
ViewDecl

Enums§

AssignOp
BinaryOp
ElseBranch
ExprKind
Item
Iterable
What a for loops over.
StmtKind
StringPart
TypeExprKind
UnaryOp