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
StringExpression
Fields of StringExpression
value: String |
NumberExpression
Fields of NumberExpression
value: Number |
MessageReference
Fields of MessageReference
id: Identifier |
ExternalArgument
Fields of ExternalArgument
id: Identifier |
SelectExpression
Fields of SelectExpression
expression: Option<Box<Expression>> | |
variants: Vec<Variant> |
AttributeExpression
Fields of AttributeExpression
id: Identifier | |
name: Identifier |
VariantExpression
Fields of VariantExpression
id: Identifier | |
key: VarKey |
CallExpression
Fields of CallExpression
callee: Function | |
args: Vec<Argument> |
Trait Implementations
impl Debug for Expression
[src]
impl Debug for Expression
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Expression
[src]
impl PartialEq for Expression
fn eq(&self, other: &Expression) -> bool
[src]
fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Expression) -> bool
[src]
fn ne(&self, other: &Expression) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Expression
impl Send for Expression
impl Sync for Expression
impl Sync for Expression