Enum tonic_parser::Expression [−][src]
pub enum Expression {
String(String),
Number(f64),
Bool(bool),
Identifier(String),
Prefix(Op, Box<Expression>),
Infix(Box<Expression>, Op, Box<Expression>),
Call(Box<Expression>, Vec<Expression>),
}
Variants
String(String)
Tuple Fields of String
0: String
Number(f64)
Tuple Fields of Number
0: f64
Bool(bool)
Tuple Fields of Bool
0: bool
Identifier(String)
Tuple Fields of Identifier
0: String
Prefix(Op, Box<Expression>)
Tuple Fields of Prefix
0: Op
1: Box<Expression>
Infix(Box<Expression>, Op, Box<Expression>)
Tuple Fields of Infix
Call(Box<Expression>, Vec<Expression>)
Tuple Fields of Call
0: Box<Expression>
1: Vec<Expression>
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.