#include <StackFrameClass.hpp>
Static Public Member Functions | |
static void | createInstance () |
Static Public Member Functions inherited from RexxObject | |
static void | decodeMessageName (RexxObject *target, RexxObject *message, RexxString *&messageName, RexxObject *&startScope) |
static void | createInstance () |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Static Public Attributes | |
static RexxClass * | classInstance = OREF_NULL |
Static Public Attributes inherited from RexxObject | |
static PCPPM | operatorMethods [] |
static RexxClass * | classInstance = OREF_NULL |
Protected Attributes | |
const char * | type |
RexxString * | name |
BaseExecutable * | executable |
RexxObject * | target |
RexxArray * | arguments |
size_t | line |
RexxString * | traceLine |
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 60 of file StackFrameClass.hpp.
StackFrameClass::StackFrameClass | ( | const char * | ty, |
RexxString * | n, | ||
BaseExecutable * | e, | ||
RexxObject * | tg, | ||
RexxArray * | a, | ||
RexxString * | t, | ||
size_t | l | ||
) |
Constructor for a StackFrame object.
a | The activation we're attached to. |
Definition at line 94 of file StackFrameClass.cpp.
References arguments, executable, line, name, OREF_NULL, target, traceLine, and type.
|
inline |
Definition at line 67 of file StackFrameClass.hpp.
|
static |
Create initial bootstrap objects
Definition at line 53 of file StackFrameClass.cpp.
References CLASS_CREATE.
Referenced by RexxMemory::createImage().
|
virtual |
Reimplemented from RexxObject.
Definition at line 156 of file StackFrameClass.cpp.
References cleanUpFlatten, OREF_NULL, and setUpFlatten.
RexxArray * StackFrameClass::getArguments | ( | ) |
Return an array of arguments to the current activation.
Definition at line 246 of file StackFrameClass.cpp.
References arguments, new_array(), and OREF_NULL.
Referenced by RexxMemory::createImage().
RexxObject * StackFrameClass::getExecutable | ( | ) |
Return the stack frame current line position.
Definition at line 214 of file StackFrameClass.cpp.
References executable, OREF_NULL, and TheNilObject.
Referenced by RexxMemory::createImage().
RexxObject * StackFrameClass::getLine | ( | ) |
Return the execution context current line position.
Definition at line 228 of file StackFrameClass.cpp.
References line, new_integer(), SIZE_MAX, and TheNilObject.
Referenced by RexxMemory::createImage(), and RexxActivity::generateProgramInformation().
RexxString * StackFrameClass::getName | ( | ) |
Return the name used to invoke the executable
Definition at line 191 of file StackFrameClass.cpp.
References name.
Referenced by RexxMemory::createImage().
RexxSource * StackFrameClass::getSourceObject | ( | ) |
Get the source object associated with the stack frame.
Definition at line 264 of file StackFrameClass.cpp.
References executable, BaseExecutable::getSourceObject(), and OREF_NULL.
RexxObject * StackFrameClass::getTarget | ( | ) |
Get the message target if this is a method call.
Definition at line 280 of file StackFrameClass.cpp.
References OREF_NULL, target, and TheNilObject.
Referenced by RexxMemory::createImage().
RexxString * StackFrameClass::getTraceLine | ( | ) |
Return a trace line for this stack frame
Definition at line 203 of file StackFrameClass.cpp.
References traceLine.
Referenced by RexxMemory::createImage(), RexxActivity::generateProgramInformation(), makeString(), and stringValue().
RexxString * StackFrameClass::getType | ( | ) |
Return the frame type used to invoke the executable
Definition at line 179 of file StackFrameClass.cpp.
References new_string(), and type.
Referenced by RexxMemory::createImage().
|
virtual |
Reimplemented from RexxObject.
Definition at line 130 of file StackFrameClass.cpp.
References arguments, executable, memory_mark, name, target, and traceLine.
|
virtual |
Reimplemented from RexxObject.
Definition at line 143 of file StackFrameClass.cpp.
References arguments, executable, memory_mark_general, name, target, and traceLine.
|
virtual |
Default makestring method override
Reimplemented from RexxObject.
Definition at line 304 of file StackFrameClass.cpp.
References getTraceLine().
RexxObject * StackFrameClass::newRexx | ( | RexxObject ** | args, |
size_t | argc, | ||
size_t | named_argc | ||
) |
The Rexx accessible class NEW method. This raises an error because StackFrame objects can only be created by the internal interpreter.
args | The NEW args |
argc | The count of arguments |
Definition at line 122 of file StackFrameClass.cpp.
References Error_Unsupported_new_method, reportException(), and TheNilObject.
Referenced by RexxMemory::createImage().
|
inline |
Definition at line 65 of file StackFrameClass.hpp.
void * StackFrameClass::operator new | ( | size_t | size | ) |
Allocate a new StackFrame object
size | The size of the object. |
Definition at line 66 of file StackFrameClass.cpp.
References new_object(), and T_StackFrame.
void * StackFrameClass::operator new | ( | size_t | size, |
ProtectedObject & | p | ||
) |
Allocate a new GC-protected StackFrame object
size | The size of the object. |
p | The protected object |
Definition at line 81 of file StackFrameClass.cpp.
References new_object(), and T_StackFrame.
|
virtual |
Default string method override
Reimplemented from RexxObject.
Definition at line 294 of file StackFrameClass.cpp.
References getTraceLine().
|
protected |
Definition at line 94 of file StackFrameClass.hpp.
Referenced by getArguments(), live(), liveGeneral(), and StackFrameClass().
Definition at line 74 of file StackFrameClass.hpp.
|
protected |
Definition at line 92 of file StackFrameClass.hpp.
Referenced by getExecutable(), getSourceObject(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 95 of file StackFrameClass.hpp.
Referenced by getLine(), and StackFrameClass().
|
protected |
Definition at line 91 of file StackFrameClass.hpp.
Referenced by getName(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 93 of file StackFrameClass.hpp.
Referenced by getTarget(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 96 of file StackFrameClass.hpp.
Referenced by getTraceLine(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 90 of file StackFrameClass.hpp.
Referenced by getType(), and StackFrameClass().