#include <CPPCode.hpp>
Protected Attributes | |
RexxObject * | constantValue |
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 a constant retriever method
Definition at line 120 of file CPPCode.hpp.
|
inline |
Definition at line 127 of file CPPCode.hpp.
References constantValue.
|
inline |
Definition at line 128 of file CPPCode.hpp.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 442 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 135 of file CPPCode.hpp.
References source.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 419 of file CPPCode.cpp.
References constantValue, memory_mark, and source.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 428 of file CPPCode.cpp.
References constantValue, memory_mark_general, SAVINGIMAGE, RexxInternalObject::setInRexxPackage(), and source.
|
inline |
Definition at line 125 of file CPPCode.hpp.
|
inline |
Definition at line 126 of file CPPCode.hpp.
|
inline |
Definition at line 124 of file CPPCode.hpp.
void * ConstantGetterCode::operator new | ( | size_t | size | ) |
Allocate a new constant getter code object.
size | the allocation size. |
Definition at line 412 of file CPPCode.cpp.
References new_object(), and T_AttributeGetterCode.
|
virtual |
Execute a constant 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.
Definition at line 468 of file CPPCode.cpp.
References constantValue, Error_Incorrect_method_maxarg, and reportException().
|
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 134 of file CPPCode.hpp.
References source.
|
protected |
Definition at line 138 of file CPPCode.hpp.
Referenced by ConstantGetterCode(), live(), liveGeneral(), and run().
|
protected |
Definition at line 139 of file CPPCode.hpp.
Referenced by getSourceObject(), live(), liveGeneral(), and setSourceObject().