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) int
i
(package private) VectorEnumerator
nodes
The 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 boolean
hasMoreNodes()
AST
nextNode()
-
-
-
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:
hasMoreNodes
in interfaceASTEnumeration
-
nextNode
public AST nextNode()
- Specified by:
nextNode
in interfaceASTEnumeration
-
-