|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--antlr.collections.impl.ASTArray
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)
Field Summary | |
AST[] |
array
|
int |
size
|
Constructor Summary | |
ASTArray(int capacity)
|
Method Summary | |
ASTArray |
add(AST node)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int size
public AST[] array
Constructor Detail |
public ASTArray(int capacity)
Method Detail |
public ASTArray add(AST node)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |