Enum fluent::syntax::ast::Expression [] [src]

pub enum Expression {
    StringExpression {
        value: String,
    },
    NumberExpression {
        value: Number,
    },
    MessageReference {
        id: Identifier,
    },
    ExternalArgument {
        id: Identifier,
    },
    SelectExpression {
        expression: Option<Box<Expression>>,
        variants: Vec<Variant>,
    },
    AttributeExpression {
        id: Identifier,
        name: Identifier,
    },
    VariantExpression {
        id: Identifier,
        key: VarKey,
    },
    CallExpression {
        callee: Function,
        args: Vec<Argument>,
    },
}

Variants

Fields of StringExpression

Fields of NumberExpression

Fields of MessageReference

Fields of ExternalArgument

Fields of SelectExpression

Fields of AttributeExpression

Fields of VariantExpression

Fields of CallExpression

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 ResolveValue for Expression
[src]

[src]