#include "oorexxapi.h"
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <stdexcept>
#include "RexxPlatformDefinitions.h"
#include "RexxConstants.hpp"
#include "ClassTypeCodes.h"
#include "GlobalNames.h"
#include "ObjectClass.hpp"
#include "TableClass.hpp"
#include "StackClass.hpp"
#include "RexxMemory.hpp"
#include "RexxBehaviour.hpp"
#include "ClassClass.hpp"
#include "RexxEnvelope.hpp"
#include "RexxActivity.hpp"
#include "NumberStringClass.hpp"
#include "ActivityManager.hpp"
Go to the source code of this file.
Classes | |
struct | NamedArgument |
class | NamedArguments |
Typedefs | |
typedef wholenumber_t | RexxErrorCodes |
Variables | |
const int | MAX_ERROR_NUMBER = 99999 |
const int | MAX_SYMBOL_LENGTH = 250 |
const int | ARG_ONE = 1 |
const int | ARG_TWO = 2 |
const int | ARG_THREE = 3 |
const int | ARG_FOUR = 4 |
const int | ARG_FIVE = 5 |
const int | ARG_SIX = 6 |
const int | ARG_SEVEN = 7 |
const int | ARG_EIGHT = 8 |
const int | ARG_NINE = 9 |
const int | ARG_TEN = 10 |
EXTERNMEM RexxMemory | memoryObject |
const size_t | A_COUNT = 127 |
const int | RC_OK = 0 |
const int | RC_LOGIC_ERROR = 2 |
const int | POSITIVE = 1 |
const int | NONNEGATIVE = 2 |
const int | WHOLE = 3 |
#define CLASS_EXTERNAL | ( | b, | |
c | |||
) |
Definition at line 139 of file RexxCore.h.
#define CLASS_INTERNAL | ( | b, | |
c | |||
) |
Definition at line 140 of file RexxCore.h.
#define debug_encoding 0 |
Definition at line 95 of file RexxCore.h.
#define env_find | ( | s | ) | (TheEnvironment->entry(s)) |
Definition at line 232 of file RexxCore.h.
#define EXTERN extern /* turn into external definition */ |
Definition at line 127 of file RexxCore.h.
#define EXTERNMEM extern /* turn into external definition */ |
Definition at line 131 of file RexxCore.h.
#define GLOBAL_NAME | ( | name, | |
value | |||
) | EXTERN RexxString * OREF_##name INITGLOBALPTR; |
Definition at line 244 of file RexxCore.h.
#define INITGLOBALPTR |
Definition at line 124 of file RexxCore.h.
#define IntegerEight RexxInteger::integerEight |
Definition at line 207 of file RexxCore.h.
#define IntegerFive RexxInteger::integerFive |
Definition at line 204 of file RexxCore.h.
#define IntegerFour RexxInteger::integerFour |
Definition at line 203 of file RexxCore.h.
#define IntegerMinusOne RexxInteger::integerMinusOne |
Definition at line 209 of file RexxCore.h.
#define IntegerNine RexxInteger::integerNine |
Definition at line 208 of file RexxCore.h.
#define IntegerOne RexxInteger::integerOne |
Definition at line 200 of file RexxCore.h.
#define IntegerSeven RexxInteger::integerSeven |
Definition at line 206 of file RexxCore.h.
#define IntegerSix RexxInteger::integerSix |
Definition at line 205 of file RexxCore.h.
#define IntegerThree RexxInteger::integerThree |
Definition at line 202 of file RexxCore.h.
#define IntegerTwo RexxInteger::integerTwo |
Definition at line 201 of file RexxCore.h.
#define IntegerZero RexxInteger::integerZero |
Definition at line 199 of file RexxCore.h.
#define isOfClass | ( | t, | |
r | |||
) | (r)->isObjectType(The##t##Behaviour) |
Definition at line 224 of file RexxCore.h.
#define isOfClassType | ( | t, | |
r | |||
) | (r)->isObjectType(T_##t) |
Definition at line 225 of file RexxCore.h.
#define koper | ( | name | ) | RexxObject *name(RexxObject *); |
Definition at line 142 of file RexxCore.h.
#define NO_THREAD -1 |
Definition at line 238 of file RexxCore.h.
#define OREF_NULL NULL /* definition of a NULL REXX object */ |
Definition at line 61 of file RexxCore.h.
#define OrefSet | ( | o, | |
r, | |||
v | |||
) | ((o)->isOldSpace() ? memoryObject.setOref((void *)&(r),(RexxObject *)v) : (RexxObject *)(r=v)) |
Definition at line 101 of file RexxCore.h.
#define rounddown | ( | n, | |
to | |||
) | (((n)/(to))*to) |
Definition at line 222 of file RexxCore.h.
#define RXROUNDUP | ( | n, | |
to | |||
) | ((((n)+(to-1))/(to))*to) |
Definition at line 221 of file RexxCore.h.
#define TheArrayClass RexxArray::classInstance |
Definition at line 155 of file RexxCore.h.
#define TheBufferClass RexxBuffer::classInstance |
Definition at line 176 of file RexxCore.h.
#define TheClassClass RexxClass::classInstance |
Definition at line 156 of file RexxCore.h.
#define TheCommonRetrievers RexxMemory::commonRetrievers |
Definition at line 186 of file RexxCore.h.
#define TheDirectoryClass RexxDirectory::classInstance |
Definition at line 157 of file RexxCore.h.
#define TheEnvironment RexxMemory::environment |
Definition at line 183 of file RexxCore.h.
#define TheFalseObject RexxInteger::falseObject |
Definition at line 195 of file RexxCore.h.
#define TheFunctionsDirectory RexxMemory::functionsDir |
Definition at line 185 of file RexxCore.h.
#define TheIdentityTableClass RexxIdentityTable::classInstance |
Definition at line 173 of file RexxCore.h.
#define TheIntegerClass RexxInteger::classInstance |
Definition at line 158 of file RexxCore.h.
#define TheKernel RexxMemory::kernel |
Definition at line 187 of file RexxCore.h.
#define TheListClass RexxList::classInstance |
Definition at line 159 of file RexxCore.h.
#define TheMessageClass RexxMessage::classInstance |
Definition at line 160 of file RexxCore.h.
#define TheMethodClass RexxMethod::classInstance |
Definition at line 161 of file RexxCore.h.
#define TheMutableBufferClass RexxMutableBuffer::classInstance |
Definition at line 170 of file RexxCore.h.
#define TheNilObject RexxNilObject::nilObject |
Definition at line 191 of file RexxCore.h.
#define TheNullArray RexxArray::nullArray |
Definition at line 193 of file RexxCore.h.
#define TheNullPointer RexxPointer::nullPointer |
Definition at line 197 of file RexxCore.h.
#define TheNullText RexxText::nullText |
Definition at line 211 of file RexxCore.h.
#define TheNumberStringClass RexxNumberString::classInstance |
Definition at line 165 of file RexxCore.h.
#define TheObjectClass RexxObject::classInstance |
Definition at line 166 of file RexxCore.h.
#define ThePackageClass PackageClass::classInstance |
Definition at line 163 of file RexxCore.h.
#define ThePointerClass RexxPointer::classInstance |
Definition at line 175 of file RexxCore.h.
#define TheQueueClass RexxQueue::classInstance |
Definition at line 167 of file RexxCore.h.
#define TheRelationClass RexxRelation::classInstance |
Definition at line 174 of file RexxCore.h.
#define TheRexxBlockClass RexxBlock::classInstance |
Definition at line 179 of file RexxCore.h.
#define TheRexxContextClass RexxContext::classInstance |
Definition at line 164 of file RexxCore.h.
#define TheRexxPackage RexxMemory::rexxPackage |
Definition at line 189 of file RexxCore.h.
#define TheRexxTextClass RexxText::classInstance |
Definition at line 180 of file RexxCore.h.
#define TheRoutineClass RoutineClass::classInstance |
Definition at line 162 of file RexxCore.h.
#define TheStackFrameClass StackFrameClass::classInstance |
Definition at line 178 of file RexxCore.h.
#define TheStaticRequires RexxMemory::staticRequires |
Definition at line 184 of file RexxCore.h.
#define TheStemClass RexxStem::classInstance |
Definition at line 168 of file RexxCore.h.
#define TheStringClass RexxString::classInstance |
Definition at line 169 of file RexxCore.h.
#define TheSupplierClass RexxSupplier::classInstance |
Definition at line 171 of file RexxCore.h.
#define TheSystem RexxMemory::system |
Definition at line 188 of file RexxCore.h.
#define TheTableClass RexxTable::classInstance |
Definition at line 172 of file RexxCore.h.
#define TheTrueObject RexxInteger::trueObject |
Definition at line 196 of file RexxCore.h.
#define TheUnicodeClass Unicode::classInstance |
Definition at line 181 of file RexxCore.h.
#define TheWeakReferenceClass WeakReference::classInstance |
Definition at line 177 of file RexxCore.h.
typedef wholenumber_t RexxErrorCodes |
Definition at line 65 of file RexxCore.h.
|
inline |
Definition at line 418 of file RexxCore.h.
References Error_Invalid_argument_noarg, Error_Invalid_argument_noarray, RexxArray::getDimension(), OREF_NULL, reportException(), RexxObject::requestArray(), and TheNilObject.
|
inline |
Definition at line 395 of file RexxCore.h.
References Error_Invalid_argument_noarray, RexxArray::getDimension(), missingArgument(), new_integer(), OREF_NULL, reportException(), RexxObject::requestArray(), and TheNilObject.
Referenced by RoutineClass::callWithRexx(), RexxObject::decodeMessageName(), PackageClass::loadPackage(), PackageClass::newRexx(), RexxNativeActivation::objectToValue(), RexxNativeActivation::processArguments(), RexxObject::sendWith(), RexxContext::setArgs(), RexxObject::startWith(), and Unicode::utf8proc_graphemeBreak().
|
inline |
Handy method for transforming a boolean value into Rexx method boolean return values (i.e., .true or .false).
v | The boolean value. |
Definition at line 496 of file RexxCore.h.
References TheFalseObject, and TheTrueObject.
Referenced by RexxClass::isAbstractRexx(), RexxMethod::isAbstractRexx(), RexxMethod::isAttributeRexx(), RexxMethod::isConstantRexx(), RexxClass::isMetaClassRexx(), RexxObject::isNilRexx(), and RexxMethod::isPackageRexx().
|
inline |
Definition at line 565 of file RexxCore.h.
References RexxInternalObject::behaviour, and RexxBehaviour::getOperatorMethod().
Referenced by RexxInstructionDo::checkControl(), RexxInstructionDo::controlSetup(), RexxBinaryOperator::evaluate(), RexxUnaryOperator::evaluate(), and RexxInstructionDo::execute().
|
inline |
Definition at line 440 of file RexxCore.h.
References Error_Invalid_argument_noarg, Error_Invalid_argument_noclass, RexxClass::getId(), RexxObject::isInstanceOf(), OREF_NULL, and reportException().
Referenced by PackageClass::addClass(), PackageClass::addPackage(), PackageClass::addPublicClass(), PackageClass::addPublicRoutine(), and PackageClass::addRoutine().
|
inline |
Definition at line 465 of file RexxCore.h.
References isOfClass, and OREF_NULL.
Referenced by RexxString::dynamicTarget().
|
inline |
Definition at line 287 of file RexxCore.h.
References isOfClass.
|
inline |
|
inline |
Definition at line 282 of file RexxCore.h.
References isOfClass.
Referenced by RexxCompoundTail::buildTail(), Numerics::int64Object(), isPolymorphicString(), Numerics::objectToInt64(), Numerics::objectToSignedInteger(), Numerics::objectToStringSize(), Numerics::objectToUnsignedInt64(), Numerics::objectToUnsignedInteger(), and Numerics::objectToWholeNumber().
|
inline |
Definition at line 288 of file RexxCore.h.
References isOfClass.
|
inline |
Definition at line 283 of file RexxCore.h.
References isOfClass.
Referenced by isPolymorphicString().
|
inline |
Definition at line 284 of file RexxCore.h.
References isInteger(), isNumberString(), and isString().
Referenced by RexxInteger::andOp(), RexxString::andOp(), RexxString::comp(), RexxString::concatBlank(), RexxString::concatRexx(), RexxInteger::orOp(), RexxString::orOp(), RexxString::strictComp(), RexxString::strictEqual(), RexxString::strictNotEqual(), RexxInteger::xorOp(), and RexxString::xorOp().
|
inline |
Definition at line 286 of file RexxCore.h.
References isOfClass.
|
inline |
Definition at line 281 of file RexxCore.h.
References isOfClass.
Referenced by RexxCompoundTail::buildTail(), RexxNativeActivation::dropContextVariable(), RexxNativeActivation::dropObjectVariable(), RexxNativeActivation::getContextVariable(), RexxNativeActivation::getObjectVariable(), RexxString::hash(), isPolymorphicString(), IsString(), RexxString::numberValue(), RexxNativeActivation::setContextVariable(), RexxNativeActivation::setObjectVariable(), RexxString::unsignedNumberValue(), RexxNativeActivation::variablePoolDropVariable(), RexxNativeActivation::variablePoolFetchVariable(), and RexxNativeActivation::variablePoolSetVariable().
size_t lengthArgument | ( | RexxObject * | o, |
size_t | p | ||
) |
Definition at line 58 of file StringClassUtil.cpp.
References Numerics::ARGUMENT_DIGITS, Error_Incorrect_method_length, missingArgument(), OREF_NULL, reportException(), and RexxObject::unsignedNumberValue().
Referenced by RexxString::center(), RexxString::left(), optionalLengthArgument(), RexxString::right(), and RexxMutableBuffer::setBufferSize().
|
inline |
Definition at line 355 of file RexxCore.h.
References lengthArgument(), and OREF_NULL.
Referenced by RexxString::abbrev(), RexxString::caselessAbbrev(), RexxString::caselessCompareToRexx(), RexxMutableBuffer::caselessLastPos(), RexxString::caselessLastPosRexx(), RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxMutableBuffer::caselessPos(), RexxString::caselessPosRexx(), RexxString::compareToRexx(), RexxNumberString::d2xD2c(), RexxString::delstr(), RexxString::delWord(), RexxMutableBuffer::delWord(), RexxMutableBuffer::insert(), RexxString::insert(), StringUtil::lastPosRexx(), RexxMutableBuffer::lower(), RexxString::lowerRexx(), RexxMutableBuffer::match(), RexxString::match(), RexxMutableBuffer::mydelete(), RexxMutableBufferClass::newRexx(), RexxMutableBuffer::overlay(), RexxString::overlay(), StringUtil::posRexx(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), RexxString::space(), RexxMutableBuffer::space(), StringUtil::substr(), StringUtil::subWord(), StringUtil::subWords(), RexxString::translate(), RexxMutableBuffer::translate(), RexxMutableBuffer::upper(), RexxString::upperRexx(), StringUtil::verify(), and RexxString::x2dC2d().
|
inline |
Definition at line 382 of file RexxCore.h.
References OREF_NULL, and RexxObject::requiredNonNegative().
Referenced by RexxNumberString::formatRexx(), RexxMutableBuffer::insert(), and RexxNumberString::trunc().
|
inline |
Definition at line 377 of file RexxCore.h.
References optionArgument(), and OREF_NULL.
Referenced by RexxString::dataType(), RexxString::strip(), and StringUtil::verify().
|
inline |
Definition at line 370 of file RexxCore.h.
References OREF_NULL, and padArgument().
Referenced by RexxString::bitAnd(), RexxString::bitOr(), RexxString::bitXor(), RexxString::caselessCompare(), RexxString::center(), RexxString::compare(), RexxMutableBuffer::insert(), RexxString::insert(), RexxString::left(), RexxMutableBuffer::overlay(), RexxString::overlay(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), RexxString::right(), RexxString::space(), RexxMutableBuffer::space(), StringUtil::substr(), RexxString::translate(), and RexxMutableBuffer::translate().
|
inline |
Definition at line 363 of file RexxCore.h.
References OREF_NULL, and positionArgument().
Referenced by RexxString::caselessCompareToRexx(), RexxMutableBuffer::caselessLastPos(), RexxString::caselessLastPosRexx(), RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxMutableBuffer::caselessPos(), RexxString::caselessPosRexx(), StringUtil::caselessWordPos(), RexxString::compareToRexx(), StringUtil::lastPosRexx(), RexxMutableBuffer::lower(), RexxString::lowerRexx(), RexxMutableBuffer::match(), RexxString::match(), RexxMutableBuffer::overlay(), RexxString::overlay(), StringUtil::posRexx(), StringUtil::subWords(), RexxString::translate(), RexxMutableBuffer::translate(), RexxMutableBuffer::upper(), RexxString::upperRexx(), StringUtil::verify(), and StringUtil::wordPos().
|
inline |
Definition at line 387 of file RexxCore.h.
References OREF_NULL, and RexxObject::requiredPositive().
Referenced by RexxString::caselessChangeStr(), RexxMutableBuffer::caselessChangeStr(), RexxString::changeStr(), and RexxMutableBuffer::changeStr().
|
inline |
Definition at line 346 of file RexxCore.h.
References OREF_NULL, and stringArgument().
|
inline |
Definition at line 340 of file RexxCore.h.
References OREF_NULL, and stringArgument().
Referenced by RexxString::bitAnd(), RexxString::bitOr(), RexxString::bitXor(), RexxString::strip(), RexxString::translate(), and RexxMutableBuffer::translate().
char optionArgument | ( | RexxObject * | o, |
size_t | p | ||
) |
Definition at line 126 of file StringClassUtil.cpp.
References RexxString::getChar(), and stringArgument().
Referenced by optionalOptionArgument().
codepoint_t padArgument | ( | RexxObject * | o, |
size_t | p | ||
) |
Definition at line 105 of file StringClassUtil.cpp.
References Error_Incorrect_method_pad, RexxString::getChar(), RexxString::getLength(), reportException(), and stringArgument().
Referenced by optionalPadArgument().
size_t positionArgument | ( | RexxObject * | o, |
size_t | p | ||
) |
Definition at line 82 of file StringClassUtil.cpp.
References Numerics::ARGUMENT_DIGITS, Error_Incorrect_method_position, missingArgument(), OREF_NULL, reportException(), and RexxObject::unsignedNumberValue().
Referenced by RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxMutableBuffer::caselessMatchChar(), RexxString::caselessMatchChar(), RexxString::delstr(), RexxString::delWord(), RexxMutableBuffer::delWord(), PackageClass::getSourceLineRexx(), RexxMutableBuffer::match(), RexxString::match(), RexxMutableBuffer::matchChar(), RexxString::matchChar(), RexxMutableBuffer::mydelete(), optionalPositionArgument(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), StringUtil::subchar(), StringUtil::substr(), StringUtil::subWord(), StringUtil::word(), StringUtil::wordIndex(), and StringUtil::wordLength().
|
inline |
Definition at line 457 of file RexxCore.h.
References RexxObject::requestArray().
Referenced by RexxInstructionDo::execute(), RexxInstructionForward::execute(), RexxInstructionRaise::execute(), RexxSupplier::initRexx(), RexxMessage::newRexx(), RexxObject::run(), RexxDirectory::unknown(), and RexxStem::unknown().
|
inline |
Definition at line 460 of file RexxCore.h.
References Numerics::ARGUMENT_DIGITS, and RexxObject::requestInteger().
Referenced by RexxList::getEntry(), integer(), integerRange(), and RexxQueue::locateEntry().
|
inline |
Definition at line 295 of file RexxCore.h.
References isOfClass, and RexxObject::requestString().
Referenced by RexxActivity::callFunctionExit(), RexxString::comp(), RexxInteger::concat(), RexxObject::concatBlank(), RexxString::concatBlank(), RexxInteger::concatBlank(), RexxObject::concatRexx(), RexxString::concatRexx(), RexxInstructionDo::controlSetup(), RexxObject::copyIntoTail(), RexxActivity::display(), RexxActivity::displayDebug(), RexxInstructionAddress::execute(), RexxInstructionCall::execute(), RexxInstructionCommand::execute(), RexxInstructionDo::execute(), RexxInstructionForward::execute(), RexxInstructionInterpret::execute(), RexxInstructionNumeric::execute(), RexxInstructionOptions::execute(), RexxInstructionQueue::execute(), RexxInstructionRaise::execute(), RexxInstructionSay::execute(), RexxInstructionSignal::execute(), RexxInstructionTrace::execute(), RexxDirectory::fromIndexItemArray(), RexxObject::integerValue(), RexxString::isEqual(), RexxVariableReference::list(), RexxObject::logicalValue(), RexxClass::methodDictionaryCreate(), RexxClass::methodDictionaryMerge(), RexxTarget::next(), RexxObject::numberValue(), ObjectToString(), ObjectToStringValue(), RexxString::primitiveCaselessIsEqual(), RexxString::primitiveIsEqual(), RexxStem::sort(), RexxString::strictComp(), RexxTrigger::stringTrigger(), RexxObject::truthValue(), RexxObject::unsignedNumberValue(), RexxCompoundVariable::upper(), RexxStemVariable::upper(), and RexxParseVariable::upper().
|
inline |
Definition at line 303 of file RexxCore.h.
References missingArgument(), and OREF_NULL.
Referenced by RexxHashTableCollection::addRexx(), RexxRelation::allAt(), RexxHashTableCollection::allAt(), RexxRelation::allIndex(), RexxInteger::andOp(), RexxString::andOp(), RexxList::append(), RexxQueue::append(), RexxArray::appendRexx(), RexxNumberString::comp(), RexxString::comp(), RexxInteger::comp(), RexxInteger::concat(), RexxString::concatBlank(), RexxInteger::concatBlank(), RexxString::concatRexx(), RexxString::copies(), RexxObject::decodeMessageName(), RexxClass::defineClassMethod(), RexxNumberString::divide(), RexxClass::enhanced(), RexxClass::equal(), RexxObject::equal(), RexxPointer::equal(), RexxArray::fill(), RexxHashTableCollection::getRexx(), RexxHashTableCollection::hasIndexRexx(), RexxArray::hasItem(), RexxDirectory::hasItem(), RexxList::hasItem(), RexxRelation::hasItem(), RexxHashTableCollection::hasItemRexx(), RexxArray::index(), RexxList::index(), RexxQueue::index(), RexxDirectory::indexRexx(), RexxHashTableCollection::indexRexx(), RexxClass::inherit(), RexxSupplier::initRexx(), RexxQueue::insert(), RexxList::insertRexx(), RexxInteger::integerDivide(), RexxNumberString::integerDivide(), RexxString::isEqual(), RexxObject::isInstanceOfRexx(), RexxClass::isSubclassOf(), RexxInteger::multiply(), RexxNumberString::multiply(), RexxMessage::newRexx(), RexxMethod::newRexx(), RoutineClass::newRexx(), WeakReference::newRexx(), RexxClass::notEqual(), RexxObject::notEqual(), RexxPointer::notEqual(), RexxObject::objectNameEquals(), RexxInteger::orOp(), RexxString::orOp(), RexxNumberString::power(), RexxString::primitiveCaselessIsEqual(), RexxString::primitiveIsEqual(), RexxQueue::pushRexx(), RexxList::put(), RexxQueue::put(), RexxRelation::put(), RexxHashTableCollection::putRexx(), RexxQueue::queueRexx(), RexxInteger::remainder(), RexxNumberString::remainder(), RexxRelation::removeAll(), RexxArray::removeItem(), RexxDirectory::removeItem(), RexxList::removeItem(), RexxRelation::removeItemRexx(), RexxHashTableCollection::removeItemRexx(), RexxList::removeObject(), RexxHashTableCollection::removeRexx(), RexxObject::run(), RexxArray::sectionRexx(), RexxArray::stableSortWithRexx(), RexxObject::start(), RexxObject::startWith(), RexxString::strictComp(), RexxInteger::strictComp(), RexxObject::strictEqual(), RexxObject::strictNotEqual(), RexxTable::stringAdd(), RexxTable::stringPut(), RexxClass::uninherit(), RexxDirectory::unknown(), RexxStem::unknown(), RexxInteger::xorOp(), and RexxString::xorOp().
|
inline |
Handy function for situations where a NULL results needs translation into .nil.
o | The result value. |
Definition at line 484 of file RexxCore.h.
References OREF_NULL, and TheNilObject.
Referenced by RexxClass::getPackage(), and RexxMethod::getScopeRexx().
|
inline |
Definition at line 329 of file RexxCore.h.
References Error_Invalid_argument_noarg, OREF_NULL, and reportException().
|
inline |
Definition at line 315 of file RexxCore.h.
References missingArgument(), and OREF_NULL.
Referenced by RexxString::abbrev(), PackageClass::addClass(), PackageClass::addPublicClass(), PackageClass::addPublicRoutine(), PackageClass::addRoutine(), RexxMutableBuffer::append(), RexxDirectory::atRexx(), RexxNativeActivation::callRegisteredRoutine(), RexxString::caselessAbbrev(), RexxString::caselessChangeStr(), RexxMutableBuffer::caselessChangeStr(), RexxString::caselessCompare(), RexxString::caselessCompareToRexx(), RexxString::caselessCountStrRexx(), RexxMutableBuffer::caselessCountStrRexx(), RexxMutableBuffer::caselessLastPos(), RexxString::caselessLastPosRexx(), RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxMutableBuffer::caselessMatchChar(), RexxString::caselessMatchChar(), RexxMutableBuffer::caselessPos(), RexxString::caselessPosRexx(), StringUtil::caselessWordPos(), RexxString::changeStr(), RexxMutableBuffer::changeStr(), RexxString::compare(), RexxString::compareToRexx(), RexxString::countStrRexx(), RexxMutableBuffer::countStrRexx(), RexxObject::decodeMessageName(), RexxClass::defineClassMethod(), RexxClass::defineMethod(), RexxClass::deleteMethod(), RexxDirectory::entryRexx(), PackageClass::findClassRexx(), PackageClass::findProgramRexx(), PackageClass::findRoutineRexx(), RexxDirectory::hasEntry(), RexxDirectory::hasIndex(), RexxObject::hasMethodRexx(), RexxMutableBuffer::insert(), RexxString::insert(), RexxObject::instanceMethod(), StringUtil::lastPosRexx(), RexxMethod::loadExternalMethod(), RoutineClass::loadExternalRoutine(), PackageClass::loadLibrary(), PackageClass::loadPackage(), StringUtil::makearray(), RexxMutableBuffer::match(), RexxString::match(), RexxMutableBuffer::matchChar(), RexxString::matchChar(), RexxClass::method(), RexxBehaviour::methodObject(), RexxMethod::newFileRexx(), RoutineClass::newFileRexx(), RexxMessage::newRexx(), RexxMethod::newRexx(), RexxMutableBufferClass::newRexx(), RoutineClass::newRexx(), RexxString::newRexx(), RexxClass::newRexx(), PackageClass::newRexx(), normalize(), RexxObject::objectNameEquals(), RexxNativeActivation::objectToValue(), optionalStringArgument(), optionArgument(), RexxMutableBuffer::overlay(), RexxString::overlay(), padArgument(), StringUtil::posRexx(), RexxNativeActivation::processArguments(), RexxDirectory::put(), RexxDirectory::removeRexx(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), RexxStem::request(), RexxObject::requestRexx(), RexxNativeActivation::resolveStemVariable(), RexxStem::RexxStem(), RexxObject::run(), RexxDirectory::setEntry(), RexxDirectory::setMethod(), RexxObject::setMethod(), RexxArray::toString(), RexxDirectory::unknown(), RexxStem::unknown(), RexxObject::unsetMethod(), Unicode::utf8proc_transform(), SystemInterpreter::valueFunction(), StringUtil::verify(), and StringUtil::wordPos().
const size_t A_COUNT = 127 |
Definition at line 262 of file RexxCore.h.
Referenced by RexxMemory::createImage(), and CPPCode::run().
const int ARG_EIGHT = 8 |
Definition at line 90 of file RexxCore.h.
const int ARG_FIVE = 5 |
Definition at line 87 of file RexxCore.h.
const int ARG_FOUR = 4 |
Definition at line 86 of file RexxCore.h.
Referenced by RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxNumberString::formatRexx(), RexxMutableBuffer::insert(), RexxString::insert(), RexxMutableBuffer::match(), RexxString::match(), RexxMutableBuffer::overlay(), RexxString::overlay(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), RexxString::translate(), RexxMutableBuffer::translate(), and StringUtil::verify().
const int ARG_NINE = 9 |
Definition at line 91 of file RexxCore.h.
const int ARG_ONE = 1 |
Definition at line 83 of file RexxCore.h.
Referenced by RexxString::abbrev(), RexxHashTableCollection::addRexx(), RexxRelation::allAt(), RexxHashTableCollection::allAt(), RexxRelation::allIndex(), RexxArray::allIndexes(), RexxArray::allItems(), RexxInteger::andOp(), RexxString::andOp(), RexxList::append(), RexxMutableBuffer::append(), RexxQueue::append(), RexxArray::appendRexx(), RexxDirectory::atRexx(), RexxString::bitAnd(), RexxString::bitOr(), RexxString::bitXor(), RoutineClass::callWithRexx(), RexxString::caselessAbbrev(), RexxString::caselessChangeStr(), RexxMutableBuffer::caselessChangeStr(), RexxString::caselessCompare(), RexxString::caselessCompareToRexx(), RexxString::caselessCountStrRexx(), RexxMutableBuffer::caselessCountStrRexx(), RexxMutableBuffer::caselessLastPos(), RexxString::caselessLastPosRexx(), RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxMutableBuffer::caselessMatchChar(), RexxString::caselessMatchChar(), RexxMutableBuffer::caselessPos(), RexxString::caselessPosRexx(), StringUtil::caselessWordPos(), RexxString::center(), RexxString::changeStr(), RexxMutableBuffer::changeStr(), RexxNumberString::comp(), RexxString::comp(), RexxInteger::comp(), RexxString::compare(), RexxString::compareToRexx(), RexxInteger::concat(), RexxString::concatBlank(), RexxInteger::concatBlank(), RexxString::concatRexx(), RexxString::copies(), RexxString::countStrRexx(), RexxMutableBuffer::countStrRexx(), RexxNumberString::d2xD2c(), RexxString::dataType(), RexxObject::decodeMessageName(), RexxClass::defineClassMethod(), RexxClass::defineMethod(), RexxClass::deleteMethod(), RexxString::delstr(), RexxString::delWord(), RexxMutableBuffer::delWord(), RexxArray::dimension(), RexxNumberString::divide(), RexxClass::enhanced(), RexxDirectory::entryRexx(), RexxClass::equal(), RexxObject::equal(), RexxPointer::equal(), RexxArray::fill(), RexxNumberString::formatRexx(), RexxHashTableCollection::getRexx(), PackageClass::getSourceLineRexx(), RexxDirectory::hasEntry(), RexxDirectory::hasIndex(), RexxHashTableCollection::hasIndexRexx(), RexxArray::hasItem(), RexxDirectory::hasItem(), RexxList::hasItem(), RexxRelation::hasItem(), RexxHashTableCollection::hasItemRexx(), RexxObject::hasMethodRexx(), RexxArray::index(), RexxList::index(), RexxQueue::index(), RexxDirectory::indexRexx(), RexxHashTableCollection::indexRexx(), RexxClass::inherit(), RexxSupplier::initRexx(), RexxQueue::insert(), RexxMutableBuffer::insert(), RexxString::insert(), RexxList::insertRexx(), RexxObject::instanceMethod(), RexxInteger::integerDivide(), RexxNumberString::integerDivide(), RexxString::isEqual(), RexxObject::isInstanceOfRexx(), RexxClass::isSubclassOf(), StringUtil::lastPosRexx(), RexxString::left(), RexxMutableBuffer::lower(), RexxString::lowerRexx(), StringUtil::makearray(), RexxMutableBuffer::match(), RexxString::match(), RexxMutableBuffer::matchChar(), RexxString::matchChar(), RexxClass::method(), RexxBehaviour::methodObject(), RexxInteger::multiply(), RexxNumberString::multiply(), RexxMutableBuffer::mydelete(), RexxMethod::newFileRexx(), RoutineClass::newFileRexx(), RexxMessage::newRexx(), RexxMethod::newRexx(), RexxMutableBufferClass::newRexx(), RoutineClass::newRexx(), RexxString::newRexx(), WeakReference::newRexx(), RexxClass::newRexx(), normalize(), RexxClass::notEqual(), RexxObject::notEqual(), RexxPointer::notEqual(), RexxObject::objectNameEquals(), RexxArray::operator new(), RexxInteger::orOp(), RexxString::orOp(), RexxMutableBuffer::overlay(), RexxString::overlay(), StringUtil::posRexx(), RexxNumberString::power(), RexxString::primitiveCaselessIsEqual(), RexxString::primitiveIsEqual(), RexxQueue::pushRexx(), RexxList::put(), RexxQueue::put(), RexxRelation::put(), RexxArray::putRexx(), RexxHashTableCollection::putRexx(), RexxQueue::queueRexx(), RexxInteger::remainder(), RexxNumberString::remainder(), RexxRelation::removeAll(), RexxArray::removeItem(), RexxDirectory::removeItem(), RexxList::removeItem(), RexxRelation::removeItemRexx(), RexxHashTableCollection::removeItemRexx(), RexxList::removeObject(), RexxHashTableCollection::removeRexx(), RexxDirectory::removeRexx(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), RexxStem::request(), RexxObject::requestRexx(), RexxStem::RexxStem(), RexxString::right(), RexxObject::run(), RexxArray::sectionRexx(), RexxObject::send(), RexxContext::setArgs(), RexxMutableBuffer::setBufferSize(), RexxDirectory::setEntry(), RexxDirectory::setMethod(), RexxObject::setMethod(), RexxString::space(), RexxMutableBuffer::space(), RexxArray::stableSortWithRexx(), RexxObject::start(), RexxObject::startWith(), RexxString::strictComp(), RexxInteger::strictComp(), RexxObject::strictEqual(), RexxObject::strictNotEqual(), RexxTable::stringAdd(), RexxTable::stringPut(), RexxString::strip(), StringUtil::subchar(), StringUtil::substr(), StringUtil::subWord(), StringUtil::subWords(), RexxArray::supplier(), RexxArray::toString(), RexxString::translate(), RexxMutableBuffer::translate(), RexxNumberString::trunc(), RexxClass::uninherit(), RexxDirectory::unknown(), RexxStem::unknown(), RexxObject::unsetMethod(), RexxMutableBuffer::upper(), RexxString::upperRexx(), Unicode::utf8proc_graphemeBreak(), Unicode::utf8proc_transform(), StringUtil::verify(), StringUtil::word(), StringUtil::wordIndex(), StringUtil::wordLength(), StringUtil::wordPos(), RexxString::x2dC2d(), RexxInteger::xorOp(), and RexxString::xorOp().
const int ARG_SEVEN = 7 |
Definition at line 89 of file RexxCore.h.
const int ARG_SIX = 6 |
Definition at line 88 of file RexxCore.h.
const int ARG_TEN = 10 |
Definition at line 92 of file RexxCore.h.
const int ARG_THREE = 3 |
Definition at line 85 of file RexxCore.h.
Referenced by RexxString::caselessChangeStr(), RexxMutableBuffer::caselessChangeStr(), RexxString::caselessCompareToRexx(), RexxMutableBuffer::caselessLastPos(), RexxString::caselessLastPosRexx(), RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxMutableBuffer::caselessPos(), RexxString::caselessPosRexx(), RexxString::changeStr(), RexxMutableBuffer::changeStr(), RexxString::compareToRexx(), RexxNumberString::formatRexx(), RexxMutableBuffer::insert(), RexxString::insert(), StringUtil::lastPosRexx(), RexxMutableBuffer::match(), RexxString::match(), RexxMessage::newRexx(), RexxMutableBuffer::overlay(), RexxString::overlay(), StringUtil::posRexx(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), RexxObject::run(), RexxObject::setMethod(), StringUtil::substr(), RexxString::translate(), RexxMutableBuffer::translate(), and StringUtil::verify().
const int ARG_TWO = 2 |
Definition at line 84 of file RexxCore.h.
Referenced by RexxString::abbrev(), RexxHashTableCollection::addRexx(), RexxString::bitAnd(), RexxString::bitOr(), RexxString::bitXor(), RexxString::caselessAbbrev(), RexxString::caselessChangeStr(), RexxMutableBuffer::caselessChangeStr(), RexxString::caselessCompare(), RexxString::caselessCompareToRexx(), RexxMutableBuffer::caselessLastPos(), RexxString::caselessLastPosRexx(), RexxMutableBuffer::caselessMatch(), RexxString::caselessMatch(), RexxMutableBuffer::caselessMatchChar(), RexxString::caselessMatchChar(), RexxMutableBuffer::caselessPos(), RexxString::caselessPosRexx(), StringUtil::caselessWordPos(), RexxString::center(), RexxString::changeStr(), RexxMutableBuffer::changeStr(), RexxString::compare(), RexxString::compareToRexx(), RexxObject::decodeMessageName(), RexxClass::defineClassMethod(), RexxString::delstr(), RexxString::delWord(), RexxMutableBuffer::delWord(), RexxNumberString::formatRexx(), RexxSupplier::initRexx(), RexxMutableBuffer::insert(), RexxString::insert(), StringUtil::lastPosRexx(), RexxString::left(), RexxMutableBuffer::lower(), RexxString::lowerRexx(), RexxMutableBuffer::match(), RexxString::match(), RexxMutableBuffer::matchChar(), RexxString::matchChar(), RexxMutableBuffer::mydelete(), RexxMessage::newRexx(), RexxMethod::newRexx(), RexxMutableBufferClass::newRexx(), RoutineClass::newRexx(), RexxMutableBuffer::overlay(), RexxString::overlay(), StringUtil::posRexx(), RexxRelation::put(), RexxDirectory::put(), RexxHashTableCollection::putRexx(), RexxMutableBuffer::replaceAt(), RexxString::replaceAt(), RexxString::right(), RexxObject::run(), RexxList::section(), RexxQueue::section(), RexxArray::sectionRexx(), RexxObject::sendWith(), RexxString::space(), RexxMutableBuffer::space(), RexxObject::startWith(), RexxTable::stringAdd(), RexxTable::stringPut(), RexxString::strip(), StringUtil::substr(), StringUtil::subWord(), StringUtil::subWords(), RexxArray::toString(), RexxString::translate(), RexxMutableBuffer::translate(), RexxDirectory::unknown(), RexxStem::unknown(), RexxMutableBuffer::upper(), RexxString::upperRexx(), SystemInterpreter::valueFunction(), StringUtil::verify(), and StringUtil::wordPos().
const int MAX_ERROR_NUMBER = 99999 |
Definition at line 76 of file RexxCore.h.
const int MAX_SYMBOL_LENGTH = 250 |
Definition at line 77 of file RexxCore.h.
Referenced by RexxVariableDictionary::getDirectVariableRetriever(), RexxCompoundTail::init(), RexxString::isSymbol(), and RexxSource::sourceNextToken().
EXTERNMEM RexxMemory memoryObject |
Definition at line 151 of file RexxCore.h.
const int NONNEGATIVE = 2 |
Definition at line 272 of file RexxCore.h.
const int POSITIVE = 1 |
Definition at line 271 of file RexxCore.h.
const int RC_LOGIC_ERROR = 2 |
Definition at line 269 of file RexxCore.h.
Referenced by Interpreter::logicError().
const int RC_OK = 0 |
Definition at line 268 of file RexxCore.h.
Referenced by RexxMemory::createImage().
const int WHOLE = 3 |
Definition at line 273 of file RexxCore.h.