RexxLocalVariables Class Reference

#include <RexxLocalVariables.hpp>

Public Member Functions

void * operator new (size_t size, void *ptr)
 
 RexxLocalVariables (RexxObject **frames, size_t items)
 
 RexxLocalVariables ()
 
void live (size_t)
 
void liveGeneral (int reason)
 
void migrate (RexxActivity *)
 
void init (RexxActivation *creator, size_t poolSize)
 
void setFrame (RexxObject **frame)
 
RexxVariablelookupVariable (RexxString *name, size_t index)
 
RexxVariablefindVariable (RexxString *name, size_t index)
 
RexxVariablelookupStemVariable (RexxString *name, size_t index)
 
void createDictionary ()
 
RexxVariableDictionarygetDictionary ()
 
void putVariable (RexxVariable *variable, size_t index)
 
void updateVariable (RexxVariable *)
 
RexxVariableget (size_t index)
 
RexxVariablefind (RexxString *name, size_t index)
 
void setNovalueOn ()
 
void setNovalueOff ()
 
bool getNovalue ()
 
void setNested ()
 
void clearNested ()
 
bool isNested ()
 
void procedure (RexxActivation *activation)
 
void setDictionary (RexxVariableDictionary *dict)
 
RexxVariableDictionarygetNestedDictionary ()
 

Public Attributes

size_t flags
 
size_t size
 
RexxActivationowner
 
RexxVariable ** locals
 
RexxVariableDictionarydictionary
 

Detailed Description

Definition at line 61 of file RexxLocalVariables.hpp.

Constructor & Destructor Documentation

◆ RexxLocalVariables() [1/2]

RexxLocalVariables::RexxLocalVariables ( RexxObject **  frames,
size_t  items 
)
inline

Definition at line 64 of file RexxLocalVariables.hpp.

References locals, and size.

◆ RexxLocalVariables() [2/2]

RexxLocalVariables::RexxLocalVariables ( )
inline

Definition at line 65 of file RexxLocalVariables.hpp.

References locals, OREF_NULL, and size.

Member Function Documentation

◆ clearNested()

void RexxLocalVariables::clearNested ( )
inline

Definition at line 133 of file RexxLocalVariables.hpp.

References flags, and NESTED_INTERNAL.

Referenced by RexxActivation::run().

◆ createDictionary()

◆ find()

RexxVariable* RexxLocalVariables::find ( RexxString name,
size_t  index 
)
inline

◆ findVariable()

RexxVariable * RexxLocalVariables::findVariable ( RexxString name,
size_t  index 
)

◆ get()

RexxVariable* RexxLocalVariables::get ( size_t  index)
inline

◆ getDictionary()

RexxVariableDictionary* RexxLocalVariables::getDictionary ( )
inline

Definition at line 91 of file RexxLocalVariables.hpp.

References createDictionary(), dictionary, and OREF_NULL.

Referenced by RexxActivation::getLocalVariables().

◆ getNestedDictionary()

RexxVariableDictionary* RexxLocalVariables::getNestedDictionary ( )
inline

Definition at line 138 of file RexxLocalVariables.hpp.

References dictionary.

Referenced by RexxActivation::cleanupLocalVariables().

◆ getNovalue()

bool RexxLocalVariables::getNovalue ( )
inline

Definition at line 131 of file RexxLocalVariables.hpp.

References flags, and VDICT_NOVALUE.

Referenced by RexxActivation::novalueEnabled().

◆ init()

void RexxLocalVariables::init ( RexxActivation creator,
size_t  poolSize 
)
inline

Definition at line 74 of file RexxLocalVariables.hpp.

References dictionary, flags, OREF_NULL, and owner.

Referenced by RexxActivation::RexxActivation().

◆ isNested()

bool RexxLocalVariables::isNested ( )
inline

Definition at line 134 of file RexxLocalVariables.hpp.

References flags, and NESTED_INTERNAL.

Referenced by RexxActivation::cleanupLocalVariables(), and RexxActivation::run().

◆ live()

void RexxLocalVariables::live ( size_t  liveMark)

Definition at line 50 of file RexxLocalVariables.cpp.

References dictionary, locals, memory_mark, and size.

Referenced by RexxActivation::live().

◆ liveGeneral()

void RexxLocalVariables::liveGeneral ( int  reason)

Definition at line 70 of file RexxLocalVariables.cpp.

References dictionary, locals, memory_mark_general, and size.

Referenced by RexxActivation::liveGeneral().

◆ lookupStemVariable()

◆ lookupVariable()

◆ migrate()

void RexxLocalVariables::migrate ( RexxActivity activity)

Definition at line 91 of file RexxLocalVariables.cpp.

References RexxActivity::allocateLocalVariableFrame(), locals, and size.

Referenced by RexxActivation::run().

◆ operator new()

void* RexxLocalVariables::operator new ( size_t  size,
void *  ptr 
)
inline

Definition at line 63 of file RexxLocalVariables.hpp.

◆ procedure()

void RexxLocalVariables::procedure ( RexxActivation activation)
inline

Definition at line 136 of file RexxLocalVariables.hpp.

References dictionary, flags, NESTED_INTERNAL, OREF_NULL, and owner.

Referenced by RexxActivation::procedureExpose().

◆ putVariable()

void RexxLocalVariables::putVariable ( RexxVariable variable,
size_t  index 
)
inline

◆ setDictionary()

void RexxLocalVariables::setDictionary ( RexxVariableDictionary dict)
inline

Definition at line 137 of file RexxLocalVariables.hpp.

References dictionary.

Referenced by RexxActivation::setLocalVariableDictionary().

◆ setFrame()

void RexxLocalVariables::setFrame ( RexxObject **  frame)
inline

Definition at line 75 of file RexxLocalVariables.hpp.

References locals, and size.

Referenced by RexxActivity::allocateLocalVariableFrame().

◆ setNested()

void RexxLocalVariables::setNested ( )
inline

Definition at line 132 of file RexxLocalVariables.hpp.

References flags, and NESTED_INTERNAL.

Referenced by RexxActivation::RexxActivation().

◆ setNovalueOff()

void RexxLocalVariables::setNovalueOff ( )
inline

Definition at line 130 of file RexxLocalVariables.hpp.

References flags, and VDICT_NOVALUE.

Referenced by RexxActivation::trapOff().

◆ setNovalueOn()

void RexxLocalVariables::setNovalueOn ( )
inline

Definition at line 129 of file RexxLocalVariables.hpp.

References flags, and VDICT_NOVALUE.

Referenced by RexxActivation::trapOn().

◆ updateVariable()

void RexxLocalVariables::updateVariable ( RexxVariable variable)

Member Data Documentation

◆ dictionary

◆ flags

size_t RexxLocalVariables::flags

◆ locals

◆ owner

RexxActivation* RexxLocalVariables::owner

Definition at line 142 of file RexxLocalVariables.hpp.

Referenced by init(), lookupStemVariable(), lookupVariable(), and procedure().

◆ size


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