pub trait FoldWith<V: ?Sized + Fold> {
    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

Calls a visitor method (v.fold_xxx) with self.

Visit children nodes of self with v

Implementations on Foreign Types

Visit children nodes of self with v

Implementors