10#include "../tokenNode.h"
node used for creating abstract syntax tree
Definition tokenNode.h:15
std::shared_ptr< tokenNode > condition
pointer to this while loops conditions abstract syntax tree
Definition whileNode.h:43
std::string __represent__()
(virtual) returns a string representing the current state of this whilenode and it's syntax tree stru...
Definition whileNode.cpp:5
whileNode()
constructor
Definition whileNode.cpp:3
std::string datatype
is used by interpreterr to determine the condition's data type whether it is strings or numbers
Definition whileNode.h:38
const std::string conditionaltype
is used by interpreterr to determine the conditional type whether if, for or while
Definition whileNode.h:33
std::vector< expressionData > statementsvect
vector of this while loops statements and their datatypes to be executed
Definition whileNode.h:48
creates a node in the syntax tree of type while
Definition whileNode.h:15