pub enum AstNode {
And(Box<AstNode>, Box<AstNode>),
Eq(Box<AstNode>, Box<AstNode>),
Ge(Box<AstNode>, Box<AstNode>),
Gt(Box<AstNode>, Box<AstNode>),
If(Box<AstNode>, Box<AstNode>, Box<AstNode>),
Le(Box<AstNode>, Box<AstNode>),
Lt(Box<AstNode>, Box<AstNode>),
Or(Box<AstNode>, Box<AstNode>),
Null,
Number(IndexKey),
Nq(Box<AstNode>, Box<AstNode>),
}Expand description
Node of the abstract syntax tree.
Variants
And(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing conjunction operator and.
Eq(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing comparison operator =.
Ge(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing comparison operator >.
Gt(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing comparison operator >=.
If(Box<AstNode>, Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing if expression.
Le(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing comparison operator <.
Lt(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing comparison operator <=.
Or(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing disjunction operator or.
Null
Node representing null value.
Number(IndexKey)
Node representing result index.
Nq(Box<AstNode>, Box<AstNode>)
Tuple Fields
Node representing comparison operator <>.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AstNode
impl Send for AstNode
impl Sync for AstNode
impl Unpin for AstNode
impl UnwindSafe for AstNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more