Enum pest_meta::optimizer::OptimizedExpr [−][src]
pub enum OptimizedExpr {}Show variants
Str(String), Insens(String), Range(String, String), Ident(String), PeekSlice(i32, Option<i32>), PosPred(Box<OptimizedExpr>), NegPred(Box<OptimizedExpr>), Seq(Box<OptimizedExpr>, Box<OptimizedExpr>), Choice(Box<OptimizedExpr>, Box<OptimizedExpr>), Opt(Box<OptimizedExpr>), Rep(Box<OptimizedExpr>), Skip(Vec<String>), Push(Box<OptimizedExpr>), RestoreOnErr(Box<OptimizedExpr>),
Variants
Str(String)
Insens(String)
Ident(String)
PosPred(Box<OptimizedExpr>)
NegPred(Box<OptimizedExpr>)
Seq(Box<OptimizedExpr>, Box<OptimizedExpr>)
Choice(Box<OptimizedExpr>, Box<OptimizedExpr>)
Opt(Box<OptimizedExpr>)
Rep(Box<OptimizedExpr>)
Push(Box<OptimizedExpr>)
RestoreOnErr(Box<OptimizedExpr>)
Implementations
impl OptimizedExpr
[src]
impl OptimizedExpr
[src]pub fn iter_top_down(&self) -> OptimizedExprTopDownIteratorⓘNotable traits for OptimizedExprTopDownIterator
impl Iterator for OptimizedExprTopDownIterator type Item = OptimizedExpr;
[src]
Notable traits for OptimizedExprTopDownIterator
impl Iterator for OptimizedExprTopDownIterator type Item = OptimizedExpr;
pub fn map_top_down<F>(self, f: F) -> OptimizedExpr where
F: FnMut(OptimizedExpr) -> OptimizedExpr,
[src]
F: FnMut(OptimizedExpr) -> OptimizedExpr,
pub fn map_bottom_up<F>(self, f: F) -> OptimizedExpr where
F: FnMut(OptimizedExpr) -> OptimizedExpr,
[src]
F: FnMut(OptimizedExpr) -> OptimizedExpr,
Trait Implementations
impl Clone for OptimizedExpr
[src]
impl Clone for OptimizedExpr
[src]fn clone(&self) -> OptimizedExpr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<OptimizedExpr> for OptimizedExpr
[src]
impl PartialEq<OptimizedExpr> for OptimizedExpr
[src]