File
Doc
Category
Size
Date
Package
ASTArray.java
API Doc
Glassfish v2 API
662
Wed Aug 30 15:34:14 BST 2006
persistence.antlr.collections.impl
ASTArray
java.lang.Object
public class ASTArray extends 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)
Fields Summary
public int
size
public AST[]
array
Constructors Summary
public ASTArray
(
int
capacity)
array = new AST[capacity];
Methods Summary
public
persistence.antlr.collections.impl.ASTArray
add
(
persistence.antlr.collections.AST
node)
array[size++] = node; return this;
Java Code Source