ASTArray Class Reference

#include <ASTArray.hpp>


Public Member Functions

 ANTLR_USE_NAMESPACE (std) vector< RefAST > array
 ASTArray (int capacity)
ASTArrayadd (RefAST node)

Data Fields

int size


Detailed Description

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)

Definition at line 23 of file ASTArray.hpp.


Constructor & Destructor Documentation

ASTArray::ASTArray ( int  capacity  )  [inline]

Definition at line 28 of file ASTArray.hpp.


Member Function Documentation

ASTArray::ANTLR_USE_NAMESPACE ( std   ) 

ASTArray* ASTArray::add ( RefAST  node  )  [inline]

Definition at line 34 of file ASTArray.hpp.


Field Documentation

Definition at line 25 of file ASTArray.hpp.


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:25 2009 for ctrump by  doxygen 1.5.6