Skip to main content

Module ast

Module ast 

Source
Expand description

The abstract syntax tree produced by the parser.

Structs§

Arg
Block
Catch
catch Fault { … }, or catch { … } for every fault.
ChanceArm
weight => body; the weight is None for else.
EnumDecl
Expr
Field
FnDecl
Ident
Import
MatchArm
Param
Pattern
Pragma
@mode exact, @mode sample(runs: 1000), @epsilon 1e-9.
Program
Stmt
TypeDecl

Enums§

AssignOp
BinOp
BindOp
= or ~ in a binding or assignment.
ExprKind
Item
PatternKind
StmtKind
StrSegment
TypeExpr
UnOp