Expand description
The definitions of the ucg AST and Tokens.
Re-exports§
pub use walk::Walker;
Modules§
Structs§
- Binary
OpDef - Represents an expression with a left and a right side.
- CallDef
- Represents an expansion of a Macro that is expected to already have been defined.
- CastDef
- Represents a cast of a target to a primitive type.
- CopyDef
- Encodes a tuple Copy expression in the UCG AST.
- Debug
Def - FailDef
- Format
Def - Encodes a format expression in the UCG AST.
- FuncDef
- Encodes a func expression in the UCG AST..
- Func
Shape Def - Import
Def - Encodes an import expression in the UCG AST.
- Include
Def - Encodes an import statement in the UCG AST.
- IsDef
- LetDef
- Encodes a let statement in the UCG AST.
- ListDef
- Encodes a list expression in the UCG AST.
- MapFilter
OpDef - MapFilterOpDef implements the list operations in the UCG AST.
- Module
Def - Module
Shape Def - NotDef
- Position
- Represents a line and a column position in UCG code.
- Positioned
Item - Adds position information to any type
T
. - Range
Def - RangeDef defines a range with optional step.
- Reduce
OpDef - Rewriter
- Select
Def - Encodes a select expression in the UCG AST.
- Token
- Defines a Token representing a building block of UCG syntax.
Enums§
- Binary
Expr Type - Specifies the types of binary operations supported in UCG expression.
- Cast
Type - The allowable types to which you can perform a primitive cast.
- Expression
- Encodes a ucg expression. Expressions compute a value from.
- Format
Args - Encodes one of two possible forms for format expression arguments.
- Func
OpDef - Shape
- Shapes represent the types that UCG values or expressions can have.
- Statement
- Encodes a parsed statement in the UCG AST.
- Template
Part - Token
Type - Defines the types of tokens in UCG syntax.
- Value
- Value types represent the Values that UCG can have.
Type Aliases§
- Field
List - An ordered list of Name = Value pairs.
- Shape
List - Shape
Tuple