Module ast

Source
Expand description

An abstract syntax tree for rain programs

Structs§

Gamma
A gamma node, corresponding to a match statement
Lambda
An AST-node for a lambda expression
Let
A let statement, defining a set of variables
Parametrized
A a parametrized expression
Path
A rain path, denoting a value in a namespace
Phi
A phi node
Pi
An AST-node for a pi expression
Scope
A scope in a rain program
Sexpr
An AST node for an S-expression
SimpleAssignment
A simple assignment (i.e. a single variable with an optional type)

Enums§

Expr
An AST node for a rain expression
Pattern
A pattern for assignment