antlr.collections.impl
Class ASTArray
java.lang.Object
antlr.collections.impl.ASTArray
- public class ASTArray
- extends java.lang.Object
ASTArray is a class that allows ANTLR to
generate code that can create and initialize an array
in one expression, like:
(new ASTArray(3)).add(x).add(y).add(z)
Constructor Summary |
ASTArray(int capacity)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size
public int size
array
public AST[] array
ASTArray
public ASTArray(int capacity)
add
public ASTArray add(AST node)