Trait swc_ecma_visit::VisitMutWith
source · [−]pub trait VisitMutWith<V: ?Sized + VisitMut> {
fn visit_mut_with(&mut self, v: &mut V);
fn visit_mut_children_with(&mut self, v: &mut V);
}
Expand description
A utility trait implemented for ast nodes, and allow to visit them with a visitor.
Required Methods
sourcefn visit_mut_with(&mut self, v: &mut V)
fn visit_mut_with(&mut self, v: &mut V)
Calls a visitor method (v.visit_mut_xxx) with self.
source