|
| CBotInstr () |
| Constructor. More...
|
|
virtual | ~CBotInstr () |
| Destructor. More...
|
|
virtual bool | Execute (CBotStack *&pj) |
| Execute. More...
|
|
virtual bool | Execute (CBotStack *&pj, CBotVar *pVar) |
| Execute. More...
|
|
virtual void | RestoreState (CBotStack *&pj, bool bMain) |
| RestoreState. More...
|
|
virtual bool | ExecuteVar (CBotVar *&pVar, CBotCStack *&pile) |
| ExecuteVar. More...
|
|
virtual bool | ExecuteVar (CBotVar *&pVar, CBotStack *&pile, CBotToken *prevToken, bool bStep, bool bExtend) |
| ExecuteVar. More...
|
|
virtual void | RestoreStateVar (CBotStack *&pile, bool bMain) |
| RestoreStateVar. More...
|
|
virtual bool | CompCase (CBotStack *&pj, int val) |
| CompCase This routine is defined only for the subclass CBotCase this allows to make the call on all instructions CompCase to see if it's a case to the desired value.. More...
|
|
void | SetToken (CBotToken *p) |
| SetToken Set the token corresponding to the instruction. More...
|
|
int | GetTokenType () |
| GetTokenType Return the type of the token assicated with the instruction. More...
|
|
CBotToken * | GetToken () |
| GetToken Return associated token. More...
|
|
void | AddNext (CBotInstr *n) |
| AddNext Adds the statement following the other. More...
|
|
CBotInstr * | GetNext () |
| GetNext Returns next statement. More...
|
|
void | AddNext3 (CBotInstr *n) |
| AddNext3. More...
|
|
CBotInstr * | GetNext3 () |
| GetNext3. More...
|
|
void | AddNext3b (CBotInstr *n) |
| AddNext3b. More...
|
|
CBotInstr * | GetNext3b () |
| GetNext3b. More...
|
|
virtual const std::string | GetDebugName ()=0 |
| Returns the name of this class. More...
|
|
virtual std::string | GetDebugData () |
| Returns additional data associated with this instruction for debugging purposes. More...
|
|
virtual std::map< std::string, CBotInstr * > | GetDebugLinks () |
|
CBotToken | m_token |
| Keeps the token. More...
|
|
CBotInstr * | m_next |
| Linked command. More...
|
|
CBotInstr * | m_next2b |
| Second list definition chain. More...
|
|
CBotInstr * | m_next3 |
| Third list for indices and fields. More...
|
|
CBotInstr * | m_next3b |
| Necessary for reporting tables. More...
|
|
static int | m_LoopLvl = 0 |
| Counter of nested loops, to determine the break and continue valid. More...
|
|
An instruction block - { ... }.
There is never an instance of this class - it gets compiled into CBotListInstr
- See also
- CBotListInstr