Enum vervolg::ast::Expression
[−]
[src]
pub enum Expression { Literal(Literal), QualifiedIdentifier(Vec<String>), MakeTuple(Vec<Box<Expression>>), Select(SelectStatement), Unary { op: UnaryOperator, expr: Box<Expression>, }, Binary { op: BinaryOperator, left: Box<Expression>, right: Box<Expression>, }, Comparison { op: ComparisonOperator, left: Box<Expression>, right: Box<Expression>, }, In { expr: Box<Expression>, set: SetSpecification, }, Between { expr: Box<Expression>, lower: Box<Expression>, upper: Box<Expression>, }, Case { expr: Box<Expression>, when_part: Vec<WhenClause>, else_part: Option<Box<Expression>>, }, }
Variants
Literal(Literal)
QualifiedIdentifier(Vec<String>)
MakeTuple(Vec<Box<Expression>>)
Select(SelectStatement)
Unary
Fields of Unary
op: UnaryOperator | |
expr: Box<Expression> |
Binary
Fields of Binary
op: BinaryOperator | |
left: Box<Expression> | |
right: Box<Expression> |
Comparison
Fields of Comparison
op: ComparisonOperator | |
left: Box<Expression> | |
right: Box<Expression> |
In
Fields of In
expr: Box<Expression> | |
set: SetSpecification |
Between
Fields of Between
expr: Box<Expression> | |
lower: Box<Expression> | |
upper: Box<Expression> |
Case
Fields of Case
expr: Box<Expression> | |
when_part: Vec<WhenClause> | |
else_part: Option<Box<Expression>> |