#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "RexxCore.h"
#include "StringClass.hpp"
#include "ActivityManager.hpp"
Go to the source code of this file.
Functions | |
stringsize_t | lengthArgument (RexxObject *argument, size_t position) |
stringsize_t | positionArgument (RexxObject *argument, size_t position) |
codepoint_t | padArgument (RexxObject *argument, size_t position) |
char | optionArgument (RexxObject *argument, size_t position) |
stringsize_t lengthArgument | ( | RexxObject * | argument, |
size_t | position | ||
) |
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().
char optionArgument | ( | RexxObject * | argument, |
size_t | position | ||
) |
Definition at line 126 of file StringClassUtil.cpp.
References RexxString::getChar(), and stringArgument().
Referenced by optionalOptionArgument().
codepoint_t padArgument | ( | RexxObject * | argument, |
size_t | position | ||
) |
Definition at line 105 of file StringClassUtil.cpp.
References Error_Incorrect_method_pad, RexxString::getChar(), RexxString::getLength(), reportException(), and stringArgument().
Referenced by optionalPadArgument().
stringsize_t positionArgument | ( | RexxObject * | argument, |
size_t | position | ||
) |
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().