org.hibernate.hql.ast.util
Class ASTParentsFirstIterator
java.lang.Object
org.hibernate.hql.ast.util.ASTParentsFirstIterator
- All Implemented Interfaces:
- Iterator
public class ASTParentsFirstIterator
- extends Object
- implements Iterator
Depth first iteration of an ANTLR AST.
- Author:
- josh Sep 25, 2004 7:44:39 AM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTParentsFirstIterator
public ASTParentsFirstIterator(antlr.collections.AST tree)
remove
public void remove()
- Specified by:
remove
in interface Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
nextNode
public antlr.collections.AST nextNode()