Enum cleaver::fe::ast::Expression   
                   
                       [−]
                   
               [src]
pub enum Expression {
    Literal {
        lit: Literal,
    },
    Variable {
        var: Rc<Variable>,
    },
    Call {
        function: String,
        args: Vec<Node<Expression>>,
    },
    Unary {
        op: UnaryOp,
        expr: Box<Node<Expression>>,
    },
    Binary {
        op: BinaryOp,
        left: Box<Node<Expression>>,
        right: Box<Node<Expression>>,
    },
    Parenthesis {
        expr: Box<Node<Expression>>,
    },
}Variants
LiteralFields
| lit: Literal | 
VariableFields
| var: Rc<Variable> | 
CallFields
| function: String | |
| args: Vec<Node<Expression>> | 
UnaryFields
| op: UnaryOp | |
| expr: Box<Node<Expression>> | 
BinaryFields
| op: BinaryOp | |
| left: Box<Node<Expression>> | |
| right: Box<Node<Expression>> | 
ParenthesisFields
| expr: Box<Node<Expression>> | 
Trait Implementations
impl PartialEq for Expression[src]
fn eq(&self, __arg_0: &Expression) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Expression) -> bool
This method tests for !=.