ExprEvalState
Engine/source/console/consoleInternal.h
Expression Evaluation
bool
bool
Designates if the value stack should be reset.
bool
mShouldReset will be set at the end
Stack Management
const char *
setIntVariable(S32 val)
setFloatVariable(F64 val)
setStringVariable(const char * str)
pushFrame(StringTableEntry frameName, Namespace * ns)
pushFrameRef(S32 stackIndex)
Puts a reference to an existing stack frame on the top of the stack.
Vector< Dictionary * >
The stack of callframes.
Detailed Description
Expression Evaluation
ExprEvalState()
~ExprEvalState()
SimObject * thisObject
Dictionary::Entry * currentVariable
Dictionary::Entry * copyVariable
bool traceOn
U32 mStackDepth
bool mShouldReset
Designates if the value stack should be reset.
bool mResetLocked
mShouldReset will be set at the end
Stack Management
setCurVarName(StringTableEntry name)
setCurVarNameCreate(StringTableEntry name)
getIntVariable()
getFloatVariable()
getStringVariable()
setIntVariable(S32 val)
setFloatVariable(F64 val)
setStringVariable(const char * str)
setStringStackPtrVariable(StringStackPtr str)
setCopyVariable()
pushFrame(StringTableEntry frameName, Namespace * ns)
popFrame()
pushFrameRef(S32 stackIndex)
Puts a reference to an existing stack frame on the top of the stack.
getStackDepth()
getCurrentFrame()
Vector< Dictionary * > stack
The stack of callframes.
The extra redirection is necessary since Dictionary holds an interior pointer that will become invalid when the object changes address.
Dictionary globalVars