Enum darklua_core::nodes::Expression [−][src]
pub enum Expression {
Show 15 variants
Binary(Box<BinaryExpression>),
Call(Box<FunctionCall>),
False(Option<Token>),
Field(Box<FieldExpression>),
Function(FunctionExpression),
Identifier(Identifier),
Index(Box<IndexExpression>),
Nil(Option<Token>),
Number(NumberExpression),
Parenthese(Box<ParentheseExpression>),
String(StringExpression),
Table(TableExpression),
True(Option<Token>),
Unary(Box<UnaryExpression>),
VariableArguments(Option<Token>),
}
Variants
Binary(Box<BinaryExpression>)
Tuple Fields
0: Box<BinaryExpression>
Call(Box<FunctionCall>)
Tuple Fields
0: Box<FunctionCall>
False(Option<Token>)
Field(Box<FieldExpression>)
Tuple Fields
0: Box<FieldExpression>
Function(FunctionExpression)
Tuple Fields
Identifier(Identifier)
Tuple Fields
0: Identifier
Index(Box<IndexExpression>)
Tuple Fields
0: Box<IndexExpression>
Nil(Option<Token>)
Number(NumberExpression)
Tuple Fields
Parenthese(Box<ParentheseExpression>)
Tuple Fields
String(StringExpression)
Tuple Fields
Table(TableExpression)
Tuple Fields
True(Option<Token>)
Unary(Box<UnaryExpression>)
Tuple Fields
0: Box<UnaryExpression>
VariableArguments(Option<Token>)
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
Blanket Implementations
Mutably borrows from an owned value. Read more