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]

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 !=.

Auto Trait Implementations

impl Send for Expression

impl Sync for Expression