Expand description
A typed-ast layer
Structs§
- Binary
Expr - Binary operation expression in the abstract syntax tree.
- Block
Expr - Block expression in the abstract syntax tree.
- Break
- Break statement in the abstract syntax tree.
- Catch
Arm - A single catch arm in a try-catch expression.
- Catch
Type - Exception type specification for catch arms.
- Chain
Expr - Method chaining expression in the abstract syntax tree.
- Class
- Class declaration/expression in the abstract syntax tree.
- Continue
- Continue statement in the abstract syntax tree.
- Else
Branch - A single else or else-if branch in an if expression.
- Enum
- Enum declaration/expression in the abstract syntax tree.
- Enum
Variant - A single variant in an enum definition.
- Enum
Variant Field - A named field within an enum variant.
- ForLoop
- For loop expression in the abstract syntax tree.
- Function
- Function declaration/expression in the abstract syntax tree.
- Function
Item - Function declaration/expression in the abstract syntax tree.
- Function
Signature - Function signature specification.
- Ident
- An identifier in the abstract syntax tree.
- IfElse
- If expression in the abstract syntax tree.
- Import
Stmt - Import statement in the abstract syntax tree.
- Literal
- Simplified literal representation in the abstract syntax tree.
- Match
- Match expression in the abstract syntax tree.
- Match
Arm - A single arm in a match expression.
- Member
Constructions - Collection of member constructions for classes, traits, and enums.
- Modifiers
- Represents various modifiers that can be applied to functions, classes, variables, and other declarations to control their visibility, accessibility, and behavior.
- Parameter
- Function parameter specification.
- Paren
Expr - Parenthesized expression in the abstract syntax tree.
- Return
- Return statement in the abstract syntax tree.
- Throw
- Throw statement in the abstract syntax tree.
- Trait
- Trait declaration/expression in the abstract syntax tree.
- Trait
Impl - Trait implementation block.
- TryCatch
- Try-catch expression in the abstract syntax tree.
- Type
Alias - Type alias declaration/expression in the abstract syntax tree.
- Unary
Expr - Unary operation expression in the abstract syntax tree.
- Variable
Stmt - Variable declaration/expression in the abstract syntax tree.
- While
- While loop expression in the abstract syntax tree.
Enums§
- Binary
Op - Binary operators available in expressions.
- Expr
- Core AST expression enum - simplified and semantic.
- Match
Pat - MatchPat for matching in match expressions and other MatchPat contexts.
- Type
- Type representation in the abstract syntax tree.
- UnaryOp
- Unary operators available in expressions.
- Value