org.hibernate.hql.ast.util
Class NodeTraverser
java.lang.Object
   org.hibernate.hql.ast.util.NodeTraverser
org.hibernate.hql.ast.util.NodeTraverser
- public class NodeTraverser 
- extends Object
A visitor for traversing an AST tree.
- Author:
- Steve Ebersole, Philip R. "Pib" Burns., Strong Liu
 
 
| Method Summary | 
|  void | traverseDepthFirst(antlr.collections.AST ast)Traverse the AST tree depth first.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NodeTraverser
public NodeTraverser(NodeTraverser.VisitationStrategy strategy)
traverseDepthFirst
public void traverseDepthFirst(antlr.collections.AST ast)
- Traverse the AST tree depth first.
 
- 
- Parameters:
- ast- Root node of subtree to traverse.- 
            Note that the AST passed in is not visited itself. Visitation
            starts with its children.
             
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.