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;
}
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;
}