Package antlr.collections.impl
Class ASTEnumerator
- java.lang.Object
-
- antlr.collections.impl.ASTEnumerator
-
- All Implemented Interfaces:
ASTEnumeration
public class ASTEnumerator extends java.lang.Object implements ASTEnumeration
-
-
Field Summary
Fields Modifier and Type Field Description (package private) inti(package private) VectorEnumeratornodesThe list of root nodes for subtrees that match
-
Constructor Summary
Constructors Constructor Description ASTEnumerator(Vector v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreNodes()ASTnextNode()
-
-
-
Field Detail
-
nodes
VectorEnumerator nodes
The list of root nodes for subtrees that match
-
i
int i
-
-
Constructor Detail
-
ASTEnumerator
public ASTEnumerator(Vector v)
-
-
Method Detail
-
hasMoreNodes
public boolean hasMoreNodes()
- Specified by:
hasMoreNodesin interfaceASTEnumeration
-
nextNode
public AST nextNode()
- Specified by:
nextNodein interfaceASTEnumeration
-
-