Torque2D Reference
List of all members
ExprEvalState Class Reference

#include <consoleExprEvalState.h>

Expression Evaluation

SimObjectthisObject
 
Dictionary::EntrycurrentVariable
 
bool traceOn
 
 ExprEvalState ()
 
 ~ExprEvalState ()
 

Stack Management

Dictionary globalVars
 
Vector< Dictionary * > stack
 
void setCurVarName (StringTableEntry name)
 
void setCurVarNameCreate (StringTableEntry name)
 
S32 getIntVariable ()
 
F64 getFloatVariable ()
 
const char * getStringVariable ()
 
void setIntVariable (S32 val)
 
void setFloatVariable (F64 val)
 
void setStringVariable (const char *str)
 
void pushFrame (StringTableEntry frameName, Namespace *ns)
 
void popFrame ()
 
void pushFrameRef (S32 stackIndex)
 

Constructor & Destructor Documentation

Member Function Documentation

F64 getFloatVariable ( )
inline
S32 getIntVariable ( )
inline
const char * getStringVariable ( )
inline
void popFrame ( )
void pushFrame ( StringTableEntry  frameName,
Namespace ns 
)
void pushFrameRef ( S32  stackIndex)

Puts a reference to an existing stack frame on the top of the stack.

void setCurVarName ( StringTableEntry  name)
inline
void setCurVarNameCreate ( StringTableEntry  name)
inline
void setFloatVariable ( F64  val)
inline
void setIntVariable ( S32  val)
inline
void setStringVariable ( const char *  str)
inline

Member Data Documentation

Dictionary::Entry* currentVariable
Dictionary globalVars
Vector<Dictionary *> stack
SimObject* thisObject
bool traceOn

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