20 #include "CBot/CBotInstr/CBotCatch.h" 22 #include "CBot/CBotInstr/CBotInstr.h" 62 virtual const std::string
GetDebugName()
override {
return "CBotTry"; }
63 virtual std::map<std::string, CBotInstr*>
GetDebugLinks()
override;
Class for one CBot instruction.
Definition: CBotInstr.h:86
void RestoreState(CBotStack *&pj, bool bMain) override
RestoreState.
Definition: CBotTry.cpp:172
Instruction "catch", part of "try" structure.
Definition: CBotCatch.h:32
static CBotInstr * Compile(CBotToken *&p, CBotCStack *pStack)
Compile.
Definition: CBotTry.cpp:47
The execution stack.
Definition: CBotStack.h:44
The "try" structure.
Definition: CBotTry.h:32
The CBotCStack class Management of the stack of compilation.
Definition: CBotCStack.h:35
bool Execute(CBotStack *&pj) override
Execute Execution of instruction Try manages the return of exceptions stops (judgements) by suspensio...
Definition: CBotTry.cpp:83
virtual std::map< std::string, CBotInstr * > GetDebugLinks() override
Definition: CBotTry.cpp:226
CBot engine.
Definition: CBotCallMethode.cpp:28
virtual const std::string GetDebugName() override
Returns the name of this class.
Definition: CBotTry.h:62
Class representing one token of a program.
Definition: CBotToken.h:80