Interpreter prototype alpha
c++ interpreter for make believe language
 
Loading...
Searching...
No Matches

◆ visit_controlflow()

void Interpreter::visit_controlflow ( std::shared_ptr< tokenNode > &  TKNode,
const std::string &  datatype 
)
private

visits control flow on the syntax tree

Parameters
TKNodea pointer to the beginning of a control flow( eg, for-loop, while-loop, if,else if, else) on the syntax tree
datatypedatatype of the condition in the control flow
Returns
void