creates a node in the syntax tree of type functionNode More...
#include <functionNode.h>
Public Member Functions | |
functionNode () | |
std::string | __represent__ () |
(virtual) returns a string representing the current state of the syntax tree | |
void | attachArgAt (int &index, std::shared_ptr< tokenNode > value) |
![]() | |
tokenNode () | |
constructor | |
virtual std::string | __represent__ ()=0 |
(virtual) returns a string representing the current state of the syntax tree | |
Static Public Member Functions | |
static void | pushIntoFuncVector (std::shared_ptr< functionNode > token) |
static bool | alreadyExistingFunction (const std::string &toCheck) |
static std::shared_ptr< functionNode > | getThisFunction (const std::string &funcname) |
Public Attributes | |
const int | FUNC_ARG_MAX = 5 |
std::string | functionName = "" |
int | functionArgsAmounts = 0 |
std::vector< expressionData > | arguments |
std::vector< expressionData > | statementsvect |
![]() | |
std::string | nodeType = "None" |
used for directing execution in the syntax tree | |
Static Public Attributes | |
static std::vector< std::shared_ptr< functionNode > > | stackFUNCvector |
creates a node in the syntax tree of type functionNode