pub struct ConditionExpr {
pub list: Vec<Expression>,
pub albero: Option<Box<Expression>>,
}Expand description
Represents a parsed conditional expression.
Contains both a flat list of all sub-expressions (useful for iteration) and a tree representation (useful for evaluation and precedence analysis).
§Fields
list: Flat list of all expressions found during parsingalbero: Root of the expression tree (Italian for “tree”)
Fields§
§list: Vec<Expression>Flat list of all expressions (useful for linear traversal)
albero: Option<Box<Expression>>Root of the expression tree (useful for hierarchical analysis)
Trait Implementations§
Source§impl Clone for ConditionExpr
impl Clone for ConditionExpr
Source§fn clone(&self) -> ConditionExpr
fn clone(&self) -> ConditionExpr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConditionExpr
impl RefUnwindSafe for ConditionExpr
impl Send for ConditionExpr
impl Sync for ConditionExpr
impl Unpin for ConditionExpr
impl UnwindSafe for ConditionExpr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more