Expand description
Frontend AST re-exports used by the parser and downstream stages.
Structs§
- Assign
Target - Assignment path rooted at a binding.
- Binding
- Pattern binding.
- Block
- Runtime statement block.
- Browser
Graph - Browser-friendly graph payload for interactive viewers.
- Browser
Graph Edge - A single directed browser graph edge.
- Browser
Graph Node - A single browser graph node.
- Enum
Decl - Runtime enum declaration.
- ExprId
- Stable frontend runtime expression identifier.
- Extern
Function Decl - Extern function declaration.
- Extern
Module Decl - Extern module declaration.
- FileId
- Identifier for one source file tracked by the frontend.
- Frontend
Node Index - Side-table index of frontend nodes discovered in deterministic traversal order.
- Function
Decl - Runtime function declaration.
- Import
Decl - Import declaration.
- Intrinsic
Signature - Intrinsic signature shape tracked by arity validation.
- ItemId
- Stable frontend item identifier.
- Match
Arm - Runtime match arm.
- Meta
Block - Meta statement block.
- Meta
Expr Id - Stable frontend meta expression identifier.
- Meta
Function Decl - Meta function declaration.
- Meta
Match Arm - Meta match arm.
- Meta
Param - Meta function parameter.
- Meta
Stmt Id - Stable frontend meta statement identifier.
- Named
Expr Field - Named field value in a struct literal.
- Named
Type Field - Named type field.
- Number
Literal - Runtime numeric literal as written in source.
- Param
- Runtime function parameter.
- Program
- Whole parsed frontend program.
- Source
Location - Concrete source location in a file.
- Source
Span - Half-open span within source text.
- Spanned
Ident - Identifier token with source span metadata.
- StmtId
- Stable frontend runtime statement identifier.
- Struct
Decl - Runtime struct declaration.
- TypeId
- Stable frontend type-expression identifier.
- TypeRef
- Source-level type reference with ownership mode.
- Variant
Type - Enum variant payload shape.
Enums§
- Assign
Mode - Assignment surface form.
- Binary
Op - Binary arithmetic operator.
- CallArg
- Function call argument.
- Expr
- Runtime expression.
- Expr
Kind - Runtime expression category indexed by
ExprId. - Frontend
Parent - Parent reference for a frontend node in deterministic traversal order.
- Intrinsic
Id - Builtin intrinsic identifier used by semantic phases.
- Item
Kind - Top-level item category indexed by
ItemId. - Match
Pattern - Runtime match pattern.
- Meta
Expr - Meta expression.
- Meta
Expr Kind - Meta expression category indexed by
MetaExprId. - Meta
Match Pattern - Meta match pattern.
- Meta
Stmt - Meta statement.
- Meta
Stmt Kind - Meta statement category indexed by
MetaStmtId. - Ownership
Mode - Parameter ownership mode.
- Prefix
Op - Prefix operator.
- Quoted
Code - Quoted code fragment.
- Relational
Op - Relational comparison operator.
- Stmt
- Runtime statement.
- Stmt
Kind - Runtime statement category indexed by
StmtId. - TopItem
- Any top-level frontend item.
- Type
Expr - Type syntax shared across frontend stages.
- Type
Kind - Type-expression category indexed by
TypeId.
Functions§
- format_
assign_ mode - Render an assignment mode into a compact label.
- format_
binary_ op - Render a binary operator into a compact label.
- format_
ownership_ mode - Render an ownership mode into a compact label.
- format_
prefix_ op - Render a prefix operator into a compact label.
- format_
relational_ op - Render a relational operator into a compact label.