#include <CPPCode.hpp>
Protected Attributes | |
RexxVariableBase * | attribute |
RexxSource * | source |
Additional Inherited Members | |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Public Attributes inherited from RexxInternalObject | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
Protected Member Functions inherited from RexxVirtualBase | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Class for an attribute getter method
Definition at line 77 of file CPPCode.hpp.
|
inline |
Definition at line 84 of file CPPCode.hpp.
References attribute.
|
inline |
Definition at line 85 of file CPPCode.hpp.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 298 of file CPPCode.cpp.
References cleanUpFlatten, flatten_reference, and setUpFlatten.
|
inlinevirtual |
Retrieve the source object associated with a code object.
Reimplemented from BaseCode.
Definition at line 92 of file CPPCode.hpp.
References source.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 275 of file CPPCode.cpp.
References attribute, memory_mark, and source.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 284 of file CPPCode.cpp.
References attribute, memory_mark_general, SAVINGIMAGE, RexxInternalObject::setInRexxPackage(), and source.
|
inline |
Definition at line 82 of file CPPCode.hpp.
|
inline |
Definition at line 83 of file CPPCode.hpp.
|
inline |
Definition at line 81 of file CPPCode.hpp.
void * AttributeGetterCode::operator new | ( | size_t | size | ) |
Allocate a new attribute getter code object.
size | the allocation size. |
Definition at line 269 of file CPPCode.cpp.
References new_object(), and T_AttributeGetterCode.
|
virtual |
Execute an attribute-get operation.
activity | The current activity. |
method | The method we're invoking. |
receiver | The receiver object. |
messageName | The name of the message used to invoke the method. |
argPtr | The pointer to the arguments. |
count | The argument count. |
result | The returned result. |
Reimplemented from BaseCode.
Reimplemented in AttributeSetterCode.
Definition at line 324 of file CPPCode.cpp.
References attribute, Error_Incorrect_method_maxarg, RexxObject::getObjectVariables(), RexxMethod::getScope(), RexxInternalObject::getValue(), RexxMethod::isGuarded(), RexxVariableDictionary::release(), reportException(), and RexxVariableDictionary::reserve().
|
inlinevirtual |
Set a source object into a code context. The default implementation is just to return the same object without setting a source. This is used mostly for attaching a source context to native code methods and routines defined on directives.
s | The new source object. |
Reimplemented from BaseCode.
Definition at line 91 of file CPPCode.hpp.
References source.
|
protected |
Definition at line 95 of file CPPCode.hpp.
Referenced by AttributeGetterCode(), live(), liveGeneral(), run(), and AttributeSetterCode::run().
|
protected |
Definition at line 96 of file CPPCode.hpp.
Referenced by getSourceObject(), live(), liveGeneral(), and setSourceObject().