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 <RexxNativeCode.hpp>
Protected Attributes | |
RexxString * | package |
RexxString * | name |
RexxSource * | source |
Additional Inherited Members | |
![]() | |
static size_t | getObjectHeaderSize () |
![]() | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
![]() | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Definition at line 50 of file RexxNativeCode.hpp.
|
inline |
Definition at line 54 of file RexxNativeCode.hpp.
RexxNativeCode::RexxNativeCode | ( | RexxString * | p, |
RexxString * | n | ||
) |
|
virtual |
Resolve a class in the context of this code object.
className | The name of the desired class. |
Reimplemented from BaseCode.
Definition at line 109 of file RexxNativeCode.cpp.
References BaseCode::findClass(), RexxSource::findClass(), OREF_NULL, and source.
|
virtual |
Reimplemented from RexxVirtualBase.
Reimplemented in RegisteredRoutine, RexxNativeRoutine, and RexxNativeMethod.
Definition at line 89 of file RexxNativeCode.cpp.
References cleanUpFlatten, flatten_reference, and setUpFlatten.
Referenced by RexxNativeMethod::flatten(), RexxNativeRoutine::flatten(), and RegisteredRoutine::flatten().
SecurityManager * RexxNativeCode::getSecurityManager | ( | ) |
Get the security manager associated with native code. Generally, only native methods and routines defined with directives will have an associated security manager.
Definition at line 164 of file RexxNativeCode.cpp.
References RexxSource::getSecurityManager(), OREF_NULL, and source.
Referenced by RexxNativeActivation::callNativeRoutine(), and RexxNativeActivation::run().
|
virtual |
Get the source object backing this code instance. If created from a directive, this will be the source package containing the directive.
Reimplemented from BaseCode.
Definition at line 151 of file RexxNativeCode.cpp.
References source.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 67 of file RexxNativeCode.cpp.
References memory_mark, name, package, and source.
|
virtual |
Reimplemented from RexxVirtualBase.
Reimplemented in RegisteredRoutine, RexxNativeRoutine, and RexxNativeMethod.
Definition at line 78 of file RexxNativeCode.cpp.
References memory_mark_general, name, package, and source.
Referenced by RexxNativeMethod::liveGeneral(), RexxNativeRoutine::liveGeneral(), and RegisteredRoutine::liveGeneral().
|
virtual |
Set a source object into a native code context. If the object is already set, then this returns a copy of the code object.
s | The new source object. |
Reimplemented from BaseCode.
Definition at line 128 of file RexxNativeCode.cpp.
References RexxInternalObject::copy(), OREF_NULL, OrefSet, and source.
Referenced by RexxSource::createNativeMethod().
|
protected |
Definition at line 67 of file RexxNativeCode.hpp.
Referenced by RexxNativeRoutine::call(), RegisteredRoutine::call(), live(), liveGeneral(), RexxNativeCode(), and RexxNativeMethod::run().
|
protected |
Definition at line 66 of file RexxNativeCode.hpp.
Referenced by RexxNativeRoutine::call(), RegisteredRoutine::call(), live(), liveGeneral(), RexxNativeCode(), and RexxNativeMethod::run().
|
protected |
Definition at line 68 of file RexxNativeCode.hpp.
Referenced by findClass(), getSecurityManager(), getSourceObject(), live(), liveGeneral(), RexxNativeCode(), and setSourceObject().