Trait Visitor

Source
pub trait Visitor {
    // Required methods
    fn stage(&self) -> Stage;
    fn match_id(&self, id: &str) -> bool;
    fn visit(&self, node: &mut (impl NodeTrait + ?Sized)) -> VisitResult
       where Self: Sized;
}

Required Methods§

Source

fn stage(&self) -> Stage

Source

fn match_id(&self, id: &str) -> bool

Source

fn visit(&self, node: &mut (impl NodeTrait + ?Sized)) -> VisitResult
where Self: Sized,

Implementors§