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 of Binary
0: Box<BinaryExpression>
Call(Box<FunctionCall>)
Tuple Fields of Call
0: Box<FunctionCall>
Field(Box<FieldExpression>)
Tuple Fields of Field
0: Box<FieldExpression>
Function(FunctionExpression)
Tuple Fields of Function
Identifier(Identifier)
Tuple Fields of Identifier
0: Identifier
Index(Box<IndexExpression>)
Tuple Fields of Index
0: Box<IndexExpression>
Number(NumberExpression)
Tuple Fields of Number
Parenthese(Box<ParentheseExpression>)
Tuple Fields of Parenthese
String(StringExpression)
Tuple Fields of String
Table(TableExpression)
Tuple Fields of Table
Unary(Box<UnaryExpression>)
Tuple Fields of Unary
0: Box<UnaryExpression>
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