Skip to main content

Module ast

Module ast 

Source
Expand description

Abstract Syntax Tree (AST) types for the VirtualRust interpreter.

The parser produces these AST nodes, and the interpreter walks them to execute the program.

Structs§

MatchArm
A single arm in a match expression.

Enums§

BinOp
Binary operators.
Expr
An expression or statement in the AST.
Pattern
A pattern used in match arms.
Type
Type annotations supported in let bindings and function signatures.
UnaryOp
Unary operators.