Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

List of all members
ExprEvalState Class Reference

`#include <consoleExprEvalState.h>`

## Expression Evaluation
SimObject * | thisObject
Dictionary::Entry * | currentVariable
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

ExprEvalState | ( |  | ) |

~ExprEvalState | ( |  | ) |

## 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:

- console/consoleExprEvalState.h
- console/compiledEval.cc
- console/consoleExprEvalState.cc