[][src]Enum fluent_syntax::ast::InlineExpression

pub enum InlineExpression<'ast> {
    StringLiteral {
        value: &'ast str,
    },
    NumberLiteral {
        value: &'ast str,
    },
    FunctionReference {
        id: Identifier<'ast>,
        arguments: Option<CallArguments<'ast>>,
    },
    MessageReference {
        id: Identifier<'ast>,
        attribute: Option<Identifier<'ast>>,
    },
    TermReference {
        id: Identifier<'ast>,
        attribute: Option<Identifier<'ast>>,
        arguments: Option<CallArguments<'ast>>,
    },
    VariableReference {
        id: Identifier<'ast>,
    },
    Placeable {
        expression: Box<Expression<'ast>>,
    },
}

Variants

StringLiteral

Fields of StringLiteral

value: &'ast str
NumberLiteral

Fields of NumberLiteral

value: &'ast str
FunctionReference

Fields of FunctionReference

id: Identifier<'ast>arguments: Option<CallArguments<'ast>>
MessageReference

Fields of MessageReference

id: Identifier<'ast>attribute: Option<Identifier<'ast>>
TermReference

Fields of TermReference

id: Identifier<'ast>attribute: Option<Identifier<'ast>>arguments: Option<CallArguments<'ast>>
VariableReference

Fields of VariableReference

id: Identifier<'ast>
Placeable

Fields of Placeable

expression: Box<Expression<'ast>>

Trait Implementations

impl<'ast> Debug for InlineExpression<'ast>[src]

impl<'ast> PartialEq<InlineExpression<'ast>> for InlineExpression<'ast>[src]

impl<'ast> StructuralPartialEq for InlineExpression<'ast>[src]

Auto Trait Implementations

impl<'ast> RefUnwindSafe for InlineExpression<'ast>

impl<'ast> Send for InlineExpression<'ast>

impl<'ast> Sync for InlineExpression<'ast>

impl<'ast> Unpin for InlineExpression<'ast>

impl<'ast> UnwindSafe for InlineExpression<'ast>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.