ooRexx
4.2.0-source
About: ooRexx (Open Object Rexx) is a free implementation of Object Rexx. Object Rexx is an enhancement of the classic Rexx interpreter; a full-featured programming language with a human-oriented syntax.
![]() ![]() |
#include <StackFrameClass.hpp>
Static Public Member Functions | |
static void | createInstance () |
![]() | |
static void | decodeMessageName (RexxObject *target, RexxObject *message, RexxString *&messageName, RexxObject *&startScope) |
static void | createInstance () |
![]() | |
static size_t | getObjectHeaderSize () |
Static Public Attributes | |
static RexxClass * | classInstance = OREF_NULL |
![]() | |
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 | |
![]() | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
![]() | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Definition at line 59 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 RexxContext object.
a | The activation we're attached to. |
Definition at line 77 of file StackFrameClass.cpp.
References arguments, executable, line, name, OREF_NULL, target, traceLine, and type.
|
inline |
Definition at line 65 of file StackFrameClass.hpp.
|
static |
Create initial bootstrap objects
Definition at line 52 of file StackFrameClass.cpp.
References CLASS_CREATE.
Referenced by RexxMemory::createImage().
|
virtual |
Reimplemented from RexxObject.
Definition at line 139 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 229 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 197 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 211 of file StackFrameClass.cpp.
References line, new_integer(), and TheNilObject.
Referenced by RexxMemory::createImage(), and RexxActivity::generateProgramInformation().
RexxString * StackFrameClass::getName | ( | ) |
Return the name used to invoke the executable
Definition at line 174 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 247 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 263 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 186 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 162 of file StackFrameClass.cpp.
References new_string(), and type.
Referenced by RexxMemory::createImage().
|
virtual |
Reimplemented from RexxObject.
Definition at line 113 of file StackFrameClass.cpp.
References arguments, executable, memory_mark, name, target, and traceLine.
|
virtual |
Reimplemented from RexxObject.
Definition at line 126 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 287 of file StackFrameClass.cpp.
References getTraceLine().
RexxObject * StackFrameClass::newRexx | ( | RexxObject ** | args, |
size_t | 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 105 of file StackFrameClass.cpp.
References Error_Unsupported_new_method, reportException(), and TheNilObject.
Referenced by RexxMemory::createImage().
|
inline |
Definition at line 63 of file StackFrameClass.hpp.
void * StackFrameClass::operator new | ( | size_t | size | ) |
Allocate a new RexxContext object
size | The size of the object. |
Definition at line 65 of file StackFrameClass.cpp.
References new_object(), and T_StackFrame.
|
virtual |
Default string method override
Reimplemented from RexxObject.
Definition at line 277 of file StackFrameClass.cpp.
References getTraceLine().
|
protected |
Definition at line 92 of file StackFrameClass.hpp.
Referenced by getArguments(), live(), liveGeneral(), and StackFrameClass().
Definition at line 72 of file StackFrameClass.hpp.
|
protected |
Definition at line 90 of file StackFrameClass.hpp.
Referenced by getExecutable(), getSourceObject(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 93 of file StackFrameClass.hpp.
Referenced by getLine(), and StackFrameClass().
|
protected |
Definition at line 89 of file StackFrameClass.hpp.
Referenced by getName(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 91 of file StackFrameClass.hpp.
Referenced by getTarget(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 94 of file StackFrameClass.hpp.
Referenced by getTraceLine(), live(), liveGeneral(), and StackFrameClass().
|
protected |
Definition at line 88 of file StackFrameClass.hpp.
Referenced by getType(), and StackFrameClass().