Class GenericDoNothingVisitor<D>

java.lang.Object
com.singularsys.jep.walkers.GenericDoNothingVisitor<D>
Type Parameters:
D - the type of the data passed to the visit methods
All Implemented Interfaces:
GenericVisitor<Node,D,ParseException>, JepComponent, Serializable
Direct Known Subclasses:
GenericDeepCopyVisitor, OverloadResolver, SubstitutionVisitor

public class GenericDoNothingVisitor<D> extends Object implements GenericVisitor<Node,D,ParseException>, JepComponent
A Visitor which visits each node, typically return the original node. For function and operator nodes it visits the children, if any have changed a new node is created with the new children, otherwise the original node is returned. This allows visitors to modify trees and create a new tree This class should be extended by visitors which modify trees and creates a new tree.
Since:
Jep 4.1
See Also: