Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
CBotCStack Class Reference

Public Member Functions

 CBotCStack (CBotCStack *ppapa)
 
bool IsOk ()
 
int GetError ()
 
int GetError (int &start, int &end)
 
void SetType (CBotTypResult &type)
 
CBotTypResult GetTypResult (int mode=0)
 
int GetType (int mode=0)
 
CBotClass * GetClass ()
 
void AddVar (CBotVar *p)
 
CBotVar * FindVar (CBotToken *&p)
 
CBotVar * FindVar (CBotToken &Token)
 
bool CheckVarLocal (CBotToken *&pToken)
 
CBotVar * CopyVar (CBotToken &Token)
 
CBotCStack * TokenStack (CBotToken *pToken=NULL, bool bBlock=false)
 
CBotInstr * Return (CBotInstr *p, CBotCStack *pParent)
 
CBotFunction * ReturnFunc (CBotFunction *p, CBotCStack *pParent)
 
void SetVar (CBotVar *var)
 
void SetCopyVar (CBotVar *var)
 
CBotVar * GetVar ()
 
void SetStartError (int pos)
 
void SetError (int n, int pos)
 
void SetError (int n, CBotToken *p)
 
void ResetError (int n, int start, int end)
 
void SetRetType (CBotTypResult &type)
 
CBotTypResult GetRetType ()
 
void SetBotCall (CBotProgram *p)
 
CBotProgram * GetBotCall ()
 
CBotTypResult CompileCall (CBotToken *&p, CBotVar **ppVars, long &nIdent)
 
bool CheckCall (CBotToken *&pToken, CBotDefParam *pParam)
 
bool NextToken (CBotToken *&p)
 

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