ASTArray Class Reference
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). More...
#include <ASTArray.hpp>
Collaboration diagram for ASTArray:

Public Member Functions | |
ASTArray (int capacity) | |
ASTArray * | add (RefAST node) |
Public Attributes | |
int | size |
std::vector< RefAST > | array |
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
|
Definition at line 28 of file ASTArray.hpp. |
Member Function Documentation
|
Definition at line 34 of file ASTArray.hpp. |
Member Data Documentation
|
Definition at line 26 of file ASTArray.hpp. Referenced by add(), and ASTFactory::make(). |
|
Definition at line 25 of file ASTArray.hpp. Referenced by add(). |
The documentation for this class was generated from the following file:
- lib/antlr/antlr/ASTArray.hpp