Home | Download | News | Wiki | About ANTLR | Feedback | Support | Bugs


Latest version is 2.7.7.
Download now! »

Download
» Home
» Download
» News
»Using ANTLR
» Documentation
» Wiki
» FAQ
» Articles
» Grammars
» File Sharing
» Code API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»TML
»PCCTS
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



ASTArray


antlr.collections.impl
Class ASTArray

java.lang.Object
  extended byantlr.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)


Field Summary
 AST[] array
           
 int size
           
 
Constructor Summary
ASTArray(int capacity)
           
 
Method Summary
 ASTArray add(AST node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public int size

array

public AST[] array
Constructor Detail

ASTArray

public ASTArray(int capacity)
Method Detail

add

public ASTArray add(AST node)