Interpreter
prototype alpha
c++ interpreter for make believe language
Loading...
Searching...
No Matches
◆
reassignExistingVariable()
bool VariableNode::reassignExistingVariable
(
std::shared_ptr<
tokenNode
>
token
,
const std::string &
variablename
,
const std::string &
stacktype
,
const std::string &
appendtype
)
static
reassigns new data to a variable in the stack
Parameters
token
variable
variablename
variable name
stacktype
the stack to push it onto, whether number of word stack
appendtype
append type of append data eg, '+=', '-=', '*=' etc
Returns
bool
VariableNode
Generated by
1.9.7