TorqueScript  0.2
Public Member Functions | Public Attributes | List of all members
TorqueScript::ExecutionScope Class Reference

A specific scope of execution - this is used to delineate local variables primarily. More...

#include <executionscope.hpp>

Collaboration diagram for TorqueScript::ExecutionScope:
Collaboration graph
[legend]

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 ()
 
ObjectInstantiationDescriptorcurrentObjectInstantiation ()
 
bool isLoopStackEmpty ()
 
std::size_t getFrameDepth ()
 
FunctiongetCurrentFunction ()
 
StoredValueStackgetStack ()
 
StoredValueStackgetReturnStack ()
 
StoredValuegetVariable (const std::string &name)
 
StoredValuegetVariable (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.+.
 

Detailed Description

A specific scope of execution - this is used to delineate local variables primarily.


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