22 #include "CBot/CBotInstr/CBotInstr.h" 85 virtual const std::string
GetDebugName()
override {
return "CBotTwoOpExpr"; }
87 virtual std::map<std::string, CBotInstr*>
GetDebugLinks()
override;
Class for one CBot instruction.
Definition: CBotInstr.h:86
The execution stack.
Definition: CBotStack.h:44
static CBotInstr * Compile(CBotToken *&p, CBotCStack *pStack, int *pOperations=nullptr)
Compiles CBotTwoOpExpr or CBotLogicExpr.
Definition: CBotTwoOpExpr.cpp:137
virtual std::map< std::string, CBotInstr * > GetDebugLinks() override
Definition: CBotTwoOpExpr.cpp:541
The CBotCStack class Management of the stack of compilation.
Definition: CBotCStack.h:35
bool Execute(CBotStack *&pStack) override
Execute Performes the operation on two operands.
Definition: CBotTwoOpExpr.cpp:323
Any expression with two operands.
Definition: CBotTwoOpExpr.h:55
virtual std::string GetDebugData() override
Returns additional data associated with this instruction for debugging purposes.
Definition: CBotTwoOpExpr.cpp:536
CBot engine.
Definition: CBotCallMethode.cpp:28
void RestoreState(CBotStack *&pj, bool bMain) override
RestoreState.
Definition: CBotTwoOpExpr.cpp:511
Class representing one token of a program.
Definition: CBotToken.h:80
virtual const std::string GetDebugName() override
Returns the name of this class.
Definition: CBotTwoOpExpr.h:85