22 #include "CBot/CBotInstr/CBotInstr.h" 71 virtual const std::string
GetDebugName()
override {
return "CBotInstrMethode"; }
73 virtual std::map<std::string, CBotInstr*>
GetDebugLinks()
override;
81 std::string m_methodName;
85 std::string m_className;
Class for one CBot instruction.
Definition: CBotInstr.h:86
bool Execute(CBotStack *&pj) override
Execute.
Definition: CBotInstrMethode.cpp:217
virtual std::string GetDebugData() override
Returns additional data associated with this instruction for debugging purposes.
Definition: CBotInstrMethode.cpp:279
The execution stack.
Definition: CBotStack.h:44
void RestoreStateVar(CBotStack *&pj, bool bMain) override
RestoreStateVar.
Definition: CBotInstrMethode.cpp:167
A call to class method - var.func()
Definition: CBotInstrMethode.h:30
virtual std::map< std::string, CBotInstr * > GetDebugLinks() override
Definition: CBotInstrMethode.cpp:288
A CBot variable.
Definition: CBotVar.h:42
bool ExecuteVar(CBotVar *&pVar, CBotStack *&pj, CBotToken *prevToken, bool bStep, bool bExtend) override
ExecuteVar Execute the method call.
Definition: CBotInstrMethode.cpp:98
The CBotCStack class Management of the stack of compilation.
Definition: CBotCStack.h:35
Class to define the complete type of a variable.
Definition: CBotTypResult.h:47
static CBotInstr * Compile(CBotToken *&p, CBotCStack *pStack, CBotVar *pVar)
Compile.
Definition: CBotInstrMethode.cpp:48
CBot engine.
Definition: CBotCallMethode.cpp:28
Class representing one token of a program.
Definition: CBotToken.h:80
virtual const std::string GetDebugName() override
Returns the name of this class.
Definition: CBotInstrMethode.h:71