#include <RexxCore.h>
Public Member Functions | |
NamedArguments (size_t count) | |
~NamedArguments () | |
NamedArgument & | operator[] (size_t index) |
void | check (RexxObject **namedArglist, size_t namedArgCount, bool strict, bool extraAllowed, size_t minimumRequired=0) |
bool | check (RexxString *name, RexxObject *value, bool strict=true, ssize_t name_minimumLength=-1, size_t from=0) |
bool | check (const char *name, RexxObject *value, bool strict=true, ssize_t name_minimumLength=-1, size_t from=0) |
Public Attributes | |
const size_t | count |
Private Attributes | |
NamedArgument * | namedArguments |
Definition at line 490 of file RexxCore.h.
|
inline |
Definition at line 493 of file RexxCore.h.
References count, and namedArguments.
|
inline |
Definition at line 498 of file RexxCore.h.
References namedArguments.
bool NamedArguments::check | ( | const char * | name, |
RexxObject * | value, | ||
bool | strict = true , |
||
ssize_t | name_minimumLength = -1 , |
||
size_t | from = 0 |
||
) |
Definition at line 526 of file UseStrictInstruction.cpp.
References NamedArgument::assigned, count, Error_Invalid_argument_general, NamedArgument::minimumLength, NamedArgument::name, namedArguments, new_string(), OREF_NULL, reportException(), and NamedArgument::value.
void NamedArguments::check | ( | RexxObject ** | namedArglist, |
size_t | namedArgCount, | ||
bool | strict, | ||
bool | extraAllowed, | ||
size_t | minimumRequired = 0 |
||
) |
Definition at line 462 of file UseStrictInstruction.cpp.
References NamedArgument::assigned, count, Error_Incorrect_method_maxarg, Error_Incorrect_method_minarg, Error_Incorrect_method_noarg, NamedArgument::name, OREF_NULL, reportException(), and NamedArgument::value.
Referenced by RoutineClass::callWithRexx(), check(), RexxInstructionUseStrict::checkNamedArguments(), RexxInstructionUseStrict::executeNamedArguments(), RexxObject::run(), RexxObject::sendWith(), RexxContext::setArgs(), RexxObject::startWith(), and RexxObject::unknownRexx().
bool NamedArguments::check | ( | RexxString * | name, |
RexxObject * | value, | ||
bool | strict = true , |
||
ssize_t | name_minimumLength = -1 , |
||
size_t | from = 0 |
||
) |
Definition at line 520 of file UseStrictInstruction.cpp.
References check(), and RexxString::getStringData().
|
inline |
Definition at line 504 of file RexxCore.h.
References namedArguments.
const size_t NamedArguments::count |
Definition at line 522 of file RexxCore.h.
Referenced by check(), and NamedArguments().
|
private |
Definition at line 525 of file RexxCore.h.
Referenced by check(), NamedArguments(), operator[](), and ~NamedArguments().