class SyntaxTree::MutationVisitor

This visitor walks through the tree and copies each node as it is being visited. This is useful for mutating the tree before it is formatted.