Enum parser::ast::Expression [−][src]
pub enum Expression {
IDENTIFIER(IDENTIFIER),
LITERAL(Literal),
PREFIX(UnaryExpression),
INFIX(BinaryExpression),
IF(IF),
FUNCTION(FunctionDeclaration),
FunctionCall(FunctionCall),
Index(Index),
}
Variants
IDENTIFIER(IDENTIFIER)
Tuple Fields of IDENTIFIER
0: IDENTIFIER
LITERAL(Literal)
Tuple Fields of LITERAL
0: Literal
PREFIX(UnaryExpression)
Tuple Fields of PREFIX
INFIX(BinaryExpression)
Tuple Fields of INFIX
IF(IF)
Tuple Fields of IF
0: IF
FUNCTION(FunctionDeclaration)
Tuple Fields of FUNCTION
FunctionCall(FunctionCall)
Tuple Fields of FunctionCall
0: FunctionCall
Index(Index)
Tuple Fields of Index
0: Index
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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