Module ucglib::ast[][src]

The definitions of the ucg AST and Tokens.

Re-exports

pub use walk::Walker;

Modules

printer
walk

Structs

BinaryOpDef

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.

DebugDef
FailDef
FormatDef

Encodes a format expression in the UCG AST.

FuncDef

Encodes a func expression in the UCG AST..

FuncShapeDef
ImportDef

Encodes an import expression in the UCG AST.

IncludeDef

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.

MapFilterOpDef

MapFilterOpDef implements the list operations in the UCG AST.

ModuleDef
ModuleShapeDef
NotDef
Position

Represents a line and a column position in UCG code.

PositionedItem

Adds position information to any type T.

RangeDef

RangeDef defines a range with optional step.

ReduceOpDef
Rewriter
SelectDef

Encodes a select expression in the UCG AST.

Token

Defines a Token representing a building block of UCG syntax.

Enums

BinaryExprType

Specifies the types of binary operations supported in UCG expression.

CastType

The allowable types to which you can perform a primitive cast.

Expression

Encodes a ucg expression. Expressions compute a value from.

FormatArgs

Encodes one of two possible forms for format expression arguments.

FuncOpDef
Shape

Shapes represent the types that UCG values or expressions can have.

Statement

Encodes a parsed statement in the UCG AST.

TemplatePart
TokenType

Defines the types of tokens in UCG syntax.

Value

Value types represent the Values that UCG can have.

Type Definitions

FieldList

An ordered list of Name = Value pairs.

ShapeList
ShapeTuple