ANTLR Support Libraries 2.7.1+
Public Member Functions | Public Attributes | List of all members
ASTArray Class Reference

#include <ASTArray.hpp>

Public Member Functions

 ASTArray (int capacity)
 
ASTArrayadd (RefAST node)
 

Public Attributes

int size
 
std::vector< RefASTarray
 

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)

Constructor & Destructor Documentation

ASTArray::ASTArray ( int  capacity)
inline

Member Function Documentation

ASTArray* ASTArray::add ( RefAST  node)
inline

Member Data Documentation

std ::vector<RefAST> ASTArray::array
int ASTArray::size

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