HierarchicalASTVisitor.java | Class | This class provides a convenient behaviour-only
extension mechanism for the ASTNode hierarchy.
If you feel like you would like to add a method to
the ASTNode hierarchy (or a subtree of the hierarchy),
and you want to have different implementations
of it at different points in the hierarchy,
simply create a HierarchicalASTVisitor representing
the new method and all its implementations,
locating each implementation within the right
visit(XX) method. |