|
TorqueScript
0.2
|
A specific scope of execution - this is used to delineate local variables primarily. More...
#include <executionscope.hpp>

Public Member Functions | |
| ExecutionScope (const InterpreterConfiguration &config, StringTable *table) | |
| void | pushFrame (Function *function) |
| void | popFrame () |
| void | pushLoop (const AddressType pointer, const std::size_t depth) |
| LoopDescriptor | popLoop () |
| LoopDescriptor | currentLoopDescriptor () |
| bool | isAwaitingParentInstantiation () |
| void | pushObjectInstantiation (const std::string &typeName, const std::string &name) |
| ObjectInstantiationDescriptor | popObjectInstantiation () |
| ObjectInstantiationDescriptor & | currentObjectInstantiation () |
| bool | isLoopStackEmpty () |
| std::size_t | getFrameDepth () |
| Function * | getCurrentFunction () |
| StoredValueStack & | getStack () |
| StoredValueStack & | getReturnStack () |
| StoredValue * | getVariable (const std::string &name) |
| StoredValue * | getVariable (const std::size_t name) |
| void | setVariable (const std::string &name, StoredValue variable) |
| void | setVariable (const std::size_t name, StoredValue variable) |
Public Attributes | |
| const InterpreterConfiguration | mConfig |
| The InterpreterConfiguration associated with this ExecutionScope.+. | |
A specific scope of execution - this is used to delineate local variables primarily.