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

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

Encodes a ucg expression. Expressions compute a value from.

Variants

Methods

impl Expression
[src]

Returns the position of the Expression.

Trait Implementations

impl Debug for Expression
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Expression
[src]

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

This method tests for !=.

impl Clone for Expression
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Expression
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Expression

impl Sync for Expression