22 #include "CBot/CBotInstr/CBotInstr.h" 54 virtual const std::string
GetDebugName()
override {
return "CBotLeftExprVar"; }
Class for one CBot instruction.
Definition: CBotInstr.h:86
long m_nIdent
Unique identifier of that variable.
Definition: CBotLeftExprVar.h:61
The execution stack.
Definition: CBotStack.h:44
CBotTypResult m_typevar
Type of variable declared.
Definition: CBotLeftExprVar.h:59
bool Execute(CBotStack *&pj) override
Execute Creates a variable and assigns the result to the stack.
Definition: CBotLeftExprVar.cpp:57
The CBotCStack class Management of the stack of compilation.
Definition: CBotCStack.h:35
virtual const std::string GetDebugName() override
Returns the name of this class.
Definition: CBotLeftExprVar.h:54
A variable on the left side of an assignment.
Definition: CBotLeftExprVar.h:30
virtual std::string GetDebugData() override
Returns additional data associated with this instruction for debugging purposes.
Definition: CBotLeftExprVar.cpp:89
void RestoreState(CBotStack *&pj, bool bMain) override
RestoreState.
Definition: CBotLeftExprVar.cpp:79
Class to define the complete type of a variable.
Definition: CBotTypResult.h:47
CBot engine.
Definition: CBotCallMethode.cpp:28
Class representing one token of a program.
Definition: CBotToken.h:80