Trait swc_ecma_visit::FoldWith
source · pub trait FoldWith<V: ?Sized + Fold> {
// Required methods
fn fold_with(self, v: &mut V) -> Self;
fn fold_children_with(self, v: &mut V) -> Self;
}
Expand description
A utility trait implemented for ast nodes, and allow to visit them with a visitor.
Required Methods§
sourcefn fold_children_with(self, v: &mut V) -> Self
fn fold_children_with(self, v: &mut V) -> Self
Visit children nodes of self with v
Object Safety§
This trait is not object safe.