22 #include "CBot/CBotInstr/CBotInstr.h" 59 virtual const std::string
GetDebugName()
override {
return "CBotThrow"; }
60 virtual std::map<std::string, CBotInstr*>
GetDebugLinks()
override;
Class for one CBot instruction.
Definition: CBotInstr.h:86
virtual const std::string GetDebugName() override
Returns the name of this class.
Definition: CBotThrow.h:59
The execution stack.
Definition: CBotStack.h:44
The "throw" instruction.
Definition: CBotThrow.h:30
void RestoreState(CBotStack *&pj, bool bMain) override
RestoreState.
Definition: CBotThrow.cpp:86
The CBotCStack class Management of the stack of compilation.
Definition: CBotCStack.h:35
static CBotInstr * Compile(CBotToken *&p, CBotCStack *pStack)
Compile.
Definition: CBotThrow.cpp:42
virtual std::map< std::string, CBotInstr * > GetDebugLinks() override
Definition: CBotThrow.cpp:100
bool Execute(CBotStack *&pj) override
Execute Execution of instruction "throw".
Definition: CBotThrow.cpp:66
CBot engine.
Definition: CBotCallMethode.cpp:28
Class representing one token of a program.
Definition: CBotToken.h:80