Module ucglib::ast [] [src]

The definitions of the ucg AST and Tokens.

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.

CopyDef

Encodes a tuple Copy expression in the UCG AST.

FormatDef

Encodes a format expression in the UCG AST.

ImportDef

Encodes an import statement in the UCG AST.

LetDef

Encodes a let statement in the UCG AST.

ListDef

Encodes a list expression in the UCG AST.

MacroDef

Encodes a macro expression in the UCG AST..

ParseError

Encodes a parsing error with position information and a helpful description.

Position

Represents a line and a column position in UCG code.

Positioned

Adds position information to any type T.

SelectDef

Encodes a select expression in the UCG AST.

SelectorDef

Encodes a selector expression in the UCG AST.

SelectorList

An Expression with a series of symbols specifying the key with which to descend into the result of the expression.

Token

Defines a Token representing a building block of UCG syntax.

Enums

BinaryExprType

Specifies the types of binary operations supported in UCG expression.

Expression

Encodes a ucg expression. Expressions compute a value from.

Statement

Encodes a parsed statement in the UCG AST.

TokenType

Defines the types of tokens in UCG syntax.

Value

Represents a Value in the UCG parsed AST.

Type Definitions

FieldList

An ordered list of Name = Value pairs.