2 using AST
= antlr
.collections
.AST
;
4 namespace antlr
.collections
.impl
6 /*ANTLR Translator Generator
7 * Project led by Terence Parr at http://www.jGuru.com
8 * Software rights: http://www.antlr.org/license.html
14 // ANTLR C# Code Generator by Micheal Jordan
15 // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com
16 // Anthony Oguntimehin
18 // With many thanks to Eric V. Smith from the ANTLR list.
21 /*ASTArray is a class that allows ANTLR to
22 * generate code that can create and initialize an array
23 * in one expression, like:
24 * (new ASTArray(3)).add(x).add(y).add(z)
32 public ASTArray(int capacity
)
34 array
= new AST
[capacity
];
36 public virtual ASTArray
add(AST node
)