#include <ParseTarget.hpp>
Public Member Functions | |
void * | operator new (size_t size, void *ptr) |
RexxTarget () | |
RexxTarget (RESTORETYPE restoreType) | |
void | init (RexxObject *, RexxObject **, size_t, size_t, bool, RexxActivation *, RexxExpressionStack *) |
void | next (RexxActivation *) |
void | moveToEnd () |
void | forward (stringsize_t) |
void | forwardLength (stringsize_t) |
void | absolute (stringsize_t) |
void | backward (stringsize_t) |
void | backwardLength (stringsize_t) |
void | search (RexxString *) |
void | caselessSearch (RexxString *) |
RexxString * | getWord () |
RexxString * | remainder () |
void | skipRemainder () |
void | skipWord () |
Public Attributes | |
RexxString * | string |
RexxObject ** | arglist |
RexxExpressionStack * | stack |
size_t | stackTop |
size_t | argcount |
stringsize_t | start |
stringsize_t | end |
stringsize_t | string_length |
stringsize_t | pattern_end |
stringsize_t | pattern_start |
stringsize_t | subcurrent |
size_t | next_argument |
size_t | translate |
Definition at line 51 of file ParseTarget.hpp.
|
inline |
Definition at line 54 of file ParseTarget.hpp.
|
inline |
Definition at line 55 of file ParseTarget.hpp.
void RexxTarget::absolute | ( | stringsize_t | offset | ) |
Definition at line 192 of file ParseTarget.cpp.
References end, pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::backward | ( | stringsize_t | offset | ) |
Definition at line 224 of file ParseTarget.cpp.
References end, pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::backwardLength | ( | stringsize_t | offset | ) |
Definition at line 247 of file ParseTarget.cpp.
References end, pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::caselessSearch | ( | RexxString * | needle | ) |
Definition at line 299 of file ParseTarget.cpp.
References end, RexxString::getLength(), pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::forward | ( | stringsize_t | offset | ) |
Definition at line 147 of file ParseTarget.cpp.
References end, pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::forwardLength | ( | stringsize_t | offset | ) |
Definition at line 173 of file ParseTarget.cpp.
References end, pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
RexxString * RexxTarget::getWord | ( | ) |
Definition at line 327 of file ParseTarget.cpp.
References end, RexxString::getStringData(), new_string(), string, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::init | ( | RexxObject * | _string, |
RexxObject ** | _arglist, | ||
size_t | _argcount, | ||
size_t | _translate, | ||
bool | multiple, | ||
RexxActivation * | context, | ||
RexxExpressionStack * | s | ||
) |
Definition at line 52 of file ParseTarget.cpp.
References argcount, arglist, RexxExpressionStack::location(), next(), next_argument, stack, stackTop, and translate.
Referenced by RexxInstructionParse::execute().
void RexxTarget::moveToEnd | ( | ) |
Definition at line 131 of file ParseTarget.cpp.
References end, pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::next | ( | RexxActivation * | context | ) |
Definition at line 74 of file ParseTarget.cpp.
References argcount, arglist, RexxString::lower(), next_argument, OREF_NULL, parse_lower, parse_upper, pattern_end, pattern_start, RexxExpressionStack::push(), REQUEST_STRING(), RexxExpressionStack::setTop(), stack, stackTop, start, string_length, subcurrent, RexxActivation::traceResult(), translate, and RexxString::upper().
Referenced by RexxInstructionParse::execute(), and init().
|
inline |
Definition at line 53 of file ParseTarget.hpp.
RexxString * RexxTarget::remainder | ( | ) |
Definition at line 465 of file ParseTarget.cpp.
References end, RexxString::extract(), string, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::search | ( | RexxString * | needle | ) |
Definition at line 271 of file ParseTarget.cpp.
References end, RexxString::getLength(), pattern_end, pattern_start, start, string_length, and subcurrent.
Referenced by RexxTrigger::parse().
|
inline |
Definition at line 68 of file ParseTarget.hpp.
References end, and subcurrent.
Referenced by RexxTrigger::parse().
void RexxTarget::skipWord | ( | ) |
Definition at line 408 of file ParseTarget.cpp.
References end, and subcurrent.
Referenced by RexxTrigger::parse().
size_t RexxTarget::argcount |
Definition at line 75 of file ParseTarget.hpp.
RexxObject** RexxTarget::arglist |
Definition at line 72 of file ParseTarget.hpp.
stringsize_t RexxTarget::end |
Definition at line 77 of file ParseTarget.hpp.
Referenced by absolute(), backward(), backwardLength(), caselessSearch(), forward(), forwardLength(), getWord(), moveToEnd(), remainder(), search(), skipRemainder(), and skipWord().
size_t RexxTarget::next_argument |
Definition at line 82 of file ParseTarget.hpp.
stringsize_t RexxTarget::pattern_end |
Definition at line 79 of file ParseTarget.hpp.
Referenced by absolute(), backward(), backwardLength(), caselessSearch(), forward(), forwardLength(), moveToEnd(), next(), and search().
stringsize_t RexxTarget::pattern_start |
Definition at line 80 of file ParseTarget.hpp.
Referenced by absolute(), backward(), backwardLength(), caselessSearch(), forward(), forwardLength(), moveToEnd(), next(), and search().
RexxExpressionStack* RexxTarget::stack |
Definition at line 73 of file ParseTarget.hpp.
size_t RexxTarget::stackTop |
Definition at line 74 of file ParseTarget.hpp.
stringsize_t RexxTarget::start |
Definition at line 76 of file ParseTarget.hpp.
Referenced by absolute(), backward(), backwardLength(), caselessSearch(), forward(), forwardLength(), moveToEnd(), next(), and search().
RexxString* RexxTarget::string |
Definition at line 71 of file ParseTarget.hpp.
Referenced by getWord(), and remainder().
stringsize_t RexxTarget::string_length |
Definition at line 78 of file ParseTarget.hpp.
Referenced by absolute(), backward(), backwardLength(), caselessSearch(), forward(), forwardLength(), getWord(), moveToEnd(), next(), remainder(), and search().
stringsize_t RexxTarget::subcurrent |
Definition at line 81 of file ParseTarget.hpp.
Referenced by absolute(), backward(), backwardLength(), caselessSearch(), forward(), forwardLength(), getWord(), moveToEnd(), next(), remainder(), search(), skipRemainder(), and skipWord().
size_t RexxTarget::translate |
Definition at line 83 of file ParseTarget.hpp.