Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
CBotFunction Class Reference
Inheritance diagram for CBotFunction:
Inheritance graph
[legend]

Public Member Functions

bool Execute (CBotVar **ppVars, CBotStack *&pj, CBotVar *pInstance=NULL)
 
void RestoreState (CBotVar **ppVars, CBotStack *&pj, CBotVar *pInstance=NULL)
 
void AddNext (CBotFunction *p)
 
CBotTypResult CompileCall (const char *name, CBotVar **ppVars, long &nIdent)
 
CBotFunctionFindLocalOrPublic (long &nIdent, const char *name, CBotVar **ppVars, CBotTypResult &TypeOrError, bool bPublic=true)
 
int DoCall (long &nIdent, const char *name, CBotVar **ppVars, CBotStack *pStack, CBotToken *pToken)
 
void RestoreCall (long &nIdent, const char *name, CBotVar **ppVars, CBotStack *pStack)
 
int DoCall (long &nIdent, const char *name, CBotVar *pThis, CBotVar **ppVars, CBotStack *pStack, CBotToken *pToken, CBotClass *pClass)
 
void RestoreCall (long &nIdent, const char *name, CBotVar *pThis, CBotVar **ppVars, CBotStack *pStack, CBotClass *pClass)
 
bool CheckParam (CBotDefParam *pParam)
 
CBotString GetName ()
 
CBotString GetParams ()
 
bool IsPublic ()
 
bool IsExtern ()
 
CBotFunctionNext ()
 
bool GetPosition (int &start, int &stop, CBotGet modestart, CBotGet modestop)
 

Static Public Member Functions

static CBotFunctionCompile (CBotToken *&p, CBotCStack *pStack, CBotFunction *pFunc, bool bLocal=true)
 
static CBotFunctionCompile1 (CBotToken *&p, CBotCStack *pStack, CBotClass *pClass)
 
static void AddPublic (CBotFunction *pfunc)
 

Friends

class CBotCStack
 
class CBotProgram
 
class CBotClass
 

The documentation for this class was generated from the following files: