#include <RexxVariable.hpp>
Static Public Member Functions | |
static RexxVariable * | newInstance (RexxString *name) |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Protected Attributes | |
RexxString * | variable_name |
RexxObject * | variableValue |
RexxActivation * | creator |
RexxIdentityTable * | dependents |
Additional Inherited Members | |
Public Attributes inherited from RexxInternalObject | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
Protected Member Functions inherited from RexxVirtualBase | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Definition at line 49 of file RexxVariable.hpp.
|
inline |
Definition at line 55 of file RexxVariable.hpp.
|
inline |
Definition at line 56 of file RexxVariable.hpp.
|
inline |
Definition at line 89 of file RexxVariable.hpp.
References OREF_NULL, reset(), and variableValue.
Referenced by RexxActivation::cacheLocalVariable().
void RexxVariable::drop | ( | ) |
Definition at line 113 of file RexxVariable.cpp.
References dependents, notify(), OREF_NULL, OrefSet, and variableValue.
Referenced by RexxVariableDictionary::drop(), RexxParseVariable::drop(), RexxStem::dropCompoundVariable(), RexxStem::dropElement(), RexxActivation::dropLocalVariable(), RexxVariableDictionary::dropStemVariable(), RexxStem::remove(), and RexxStem::removeItem().
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 69 of file RexxVariable.cpp.
References cleanUpFlatten, flatten_reference, and setUpFlatten.
|
inline |
Definition at line 74 of file RexxVariable.hpp.
References variable_name.
Referenced by RexxCompoundTable::copyFrom(), RexxCompoundElement::createCompoundName(), RexxLocalVariables::createDictionary(), RexxCompoundVariable::expose(), RexxStem::expose(), RexxNativeActivation::fetchNext(), RexxCompoundTable::findEntry(), RexxLocalVariables::findVariable(), RexxVariableDictionary::getAllVariables(), RexxStem::index(), RexxLocalVariables::lookupStemVariable(), RexxLocalVariables::lookupVariable(), RexxCompoundVariable::procedureExpose(), RexxLocalVariables::putVariable(), RexxStem::supplier(), RexxStem::tailArray(), RexxStem::toDirectory(), and RexxLocalVariables::updateVariable().
|
inline |
Definition at line 88 of file RexxVariable.hpp.
References variableValue.
Referenced by RexxActivation::newLocalVariable().
|
inline |
Definition at line 73 of file RexxVariable.hpp.
References OREF_NULL, variable_name, and variableValue.
|
inline |
Definition at line 72 of file RexxVariable.hpp.
References variableValue.
Referenced by RexxStem::allItems(), RexxParseVariable::evaluate(), RexxStem::evaluateCompoundVariableValue(), RexxStem::exposeCompoundVariable(), RexxNativeActivation::fetchNext(), RexxStem::findByValue(), RexxVariableDictionary::getAllVariables(), RexxStem::getCompoundVariableRealValue(), RexxStem::getCompoundVariableValue(), RexxStem::getElement(), RexxActivation::getLocalStem(), RexxParseVariable::getRealValue(), RexxVariableDictionary::getStem(), RexxParseVariable::getValue(), RexxStem::hasIndex(), RexxStem::items(), RexxActivation::localVariableExists(), RexxVariableDictionary::nextVariable(), RexxStem::nextVariable(), RexxStem::realCompoundVariableValue(), RexxVariableDictionary::realValue(), RexxStem::remove(), RexxStem::removeItem(), RexxStem::sort(), RexxStem::supplier(), RexxStem::tailArray(), and RexxStem::toDirectory().
void RexxVariable::inform | ( | RexxActivity * | informee | ) |
Definition at line 83 of file RexxVariable.cpp.
References dependents, new_identity_table(), OREF_NULL, OrefSet, RexxIdentityTable::put(), and TheNilObject.
Referenced by RexxCompoundVariable::setGuard(), RexxStemVariable::setGuard(), and RexxParseVariable::setGuard().
|
inline |
Definition at line 90 of file RexxVariable.hpp.
References creator.
Referenced by RexxActivation::cleanupLocalVariables().
|
inline |
Definition at line 91 of file RexxVariable.hpp.
References RexxString::endsWith(), and variable_name.
Referenced by RexxNativeActivation::fetchNext().
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 49 of file RexxVariable.cpp.
References dependents, memory_mark, variable_name, and variableValue.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 59 of file RexxVariable.cpp.
References dependents, memory_mark_general, variable_name, and variableValue.
|
static |
Definition at line 149 of file RexxVariable.cpp.
References creator, dependents, new_object(), OREF_NULL, T_Variable, variable_name, and variableValue.
Referenced by new_variable().
void RexxVariable::notify | ( | ) |
Definition at line 126 of file RexxVariable.cpp.
References ActivityManager::currentActivity, dependents, RexxHashTableCollection::first(), RexxHashTableCollection::index(), OREF_NULL, RexxActivity::releaseAccess(), and RexxActivity::requestAccess().
|
inline |
Definition at line 52 of file RexxVariable.hpp.
|
inline |
Definition at line 53 of file RexxVariable.hpp.
|
inline |
Definition at line 51 of file RexxVariable.hpp.
|
inline |
Definition at line 77 of file RexxVariable.hpp.
References creator, dependents, OREF_NULL, variable_name, and variableValue.
Referenced by cache(), and RexxActivation::newLocalVariable().
|
inline |
Definition at line 67 of file RexxVariable.hpp.
References dependents, notify(), OREF_NULL, OrefSet, and variableValue.
Referenced by RexxStemVariable::assign(), RexxStem::bracketEqual(), RexxVariableDictionary::createStemVariable(), RexxActivation::dropLocalStem(), RexxVariableDictionary::dropStemVariable(), RexxStem::exposeCompoundVariable(), RexxActivation::handleNovalueEvent(), RexxLocalVariables::lookupStemVariable(), RexxStemVariable::set(), RexxVariableDictionary::set(), RexxParseVariable::set(), RexxStem::setCompoundVariable(), RexxStem::setElement(), RexxActivation::setLocalVariable(), RexxCompoundElement::setValue(), and RexxStem::sort().
|
inline |
Definition at line 87 of file RexxVariable.hpp.
References creator.
Referenced by RexxActivation::newLocalVariable().
|
inline |
Definition at line 75 of file RexxVariable.hpp.
References OrefSet, and variable_name.
void RexxVariable::uninform | ( | RexxActivity * | informee | ) |
Definition at line 98 of file RexxVariable.cpp.
References dependents, RexxHashTableCollection::items(), OREF_NULL, OrefSet, and RexxIdentityTable::remove().
Referenced by RexxCompoundVariable::clearGuard(), RexxStemVariable::clearGuard(), and RexxParseVariable::clearGuard().
|
protected |
Definition at line 99 of file RexxVariable.hpp.
Referenced by isLocal(), newInstance(), reset(), and setCreator().
|
protected |
Definition at line 100 of file RexxVariable.hpp.
Referenced by drop(), inform(), RexxCompoundElement::live(), live(), RexxCompoundElement::liveGeneral(), liveGeneral(), newInstance(), notify(), reset(), set(), and uninform().
|
protected |
Definition at line 97 of file RexxVariable.hpp.
Referenced by getName(), getResolvedValue(), isStem(), RexxCompoundElement::live(), live(), RexxCompoundElement::liveGeneral(), liveGeneral(), RexxCompoundElement::newInstance(), newInstance(), reset(), and setName().
|
protected |
Definition at line 98 of file RexxVariable.hpp.
Referenced by cache(), RexxCompoundTable::copyFrom(), drop(), getNext(), getResolvedValue(), getVariableValue(), RexxCompoundElement::live(), live(), RexxCompoundElement::liveGeneral(), liveGeneral(), newInstance(), reset(), and set().