#include <ASTArray.hpp>
Public Member Functions | |
ASTArray (int capacity) | |
ASTArray * | add (RefAST node) |
Public Attributes | |
int | size |
std::vector< RefAST > | array |
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)
ASTArray::ASTArray | ( | int | capacity | ) | [inline] |
std ::vector<RefAST> ASTArray::array |
int ASTArray::size |