The "null" constant.
More...
#include <src/CBot/CBotInstr/CBotExprLitNull.h>
|
| bool | Execute (CBotStack *&pj) override |
| | Execute Executes, returns an empty pointer. More...
|
| |
| void | RestoreState (CBotStack *&pj, bool bMain) override |
| | RestoreState. More...
|
| |
| | CBotInstr () |
| | Constructor. More...
|
| |
| virtual | ~CBotInstr () |
| | Destructor. More...
|
| |
| virtual bool | Execute (CBotStack *&pj, CBotVar *pVar) |
| | Execute. 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 bool | HasReturn () |
| | Check a list of instructions for a return statement. More...
|
| |
◆ Execute()
| bool CBot::CBotExprLitNull::Execute |
( |
CBotStack *& |
pj | ) |
|
|
overridevirtual |
Execute Executes, returns an empty pointer.
- Parameters
-
- Returns
Reimplemented from CBot::CBotInstr.
◆ RestoreState()
| void CBot::CBotExprLitNull::RestoreState |
( |
CBotStack *& |
pj, |
|
|
bool |
bMain |
|
) |
| |
|
overridevirtual |
◆ GetDebugName()
| virtual const std::string CBot::CBotExprLitNull::GetDebugName |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ GetDebugData()
| virtual std::string CBot::CBotExprLitNull::GetDebugData |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Returns additional data associated with this instruction for debugging purposes.
- See also
- CBotDebug
Reimplemented from CBot::CBotInstr.
The documentation for this class was generated from the following files:
- src/CBot/CBotInstr/CBotExprLitNull.h
- src/CBot/CBotInstr/CBotExprLitNull.cpp