Enum ucglib::ast::Expression [] [src]

pub enum Expression {
    Simple(Value),
    Binary(BinaryOpDef),
    Copy(CopyDef),
    Grouped(Box<Expression>),
    Format(FormatDef),
    Call(CallDef),
    Macro(MacroDef),
    Select(SelectDef),
}

Encodes a ucg expression. Expressions compute a value from.

Variants

Methods

impl Expression
[src]

[src]

Returns the position of the Expression.

Trait Implementations

impl Debug for Expression
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Expression
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for Expression
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more