Structs§
- Expr
- Match
Arm - Stmt
- Variant
Decl - One variant of an
enumdeclaration.
Enums§
- Array
Rest - What
..restdoes at the tail of an array pattern. - Assign
Op - Assign
Target - BinOp
- Expr
Kind - Literal
Pattern - Pattern
- A pattern appears in
matcharms (phase 4 introduces this; future phases may reuse it inletdestructuring and fn params). Structurally mirrors the runtimeValueenum so each variant’s matcher reads as “does this value fit here?”. - Stmt
Kind - UnaryOp
- Variant
Kind - What shape a variant’s payload takes.
- Variant
Pattern Payload - Variant
Payload - Runtime-side payload at a
T::Variant(...)construction site.
Functions§
- count_
instructions - Count instructions in a list of statements (AST-based, format-independent).
- fmt_
token - parse