RexxTarget Class Reference

#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 *)
 
RexxStringgetWord ()
 
RexxStringremainder ()
 
void skipRemainder ()
 
void skipWord ()
 

Public Attributes

RexxStringstring
 
RexxObject ** arglist
 
RexxExpressionStackstack
 
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
 

Detailed Description

Definition at line 51 of file ParseTarget.hpp.

Constructor & Destructor Documentation

◆ RexxTarget() [1/2]

RexxTarget::RexxTarget ( )
inline

Definition at line 54 of file ParseTarget.hpp.

◆ RexxTarget() [2/2]

RexxTarget::RexxTarget ( RESTORETYPE  restoreType)
inline

Definition at line 55 of file ParseTarget.hpp.

Member Function Documentation

◆ absolute()

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().

◆ backward()

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().

◆ backwardLength()

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().

◆ caselessSearch()

void RexxTarget::caselessSearch ( RexxString needle)

◆ forward()

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().

◆ forwardLength()

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().

◆ getWord()

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().

◆ init()

void RexxTarget::init ( RexxObject _string,
RexxObject **  _arglist,
size_t  _argcount,
size_t  _translate,
bool  multiple,
RexxActivation context,
RexxExpressionStack s 
)

◆ moveToEnd()

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().

◆ next()

◆ operator new()

void* RexxTarget::operator new ( size_t  size,
void *  ptr 
)
inline

Definition at line 53 of file ParseTarget.hpp.

◆ remainder()

RexxString * RexxTarget::remainder ( )

Definition at line 465 of file ParseTarget.cpp.

References end, RexxString::extract(), string, string_length, and subcurrent.

Referenced by RexxTrigger::parse().

◆ search()

void RexxTarget::search ( RexxString needle)

◆ skipRemainder()

void RexxTarget::skipRemainder ( )
inline

Definition at line 68 of file ParseTarget.hpp.

References end, and subcurrent.

Referenced by RexxTrigger::parse().

◆ skipWord()

void RexxTarget::skipWord ( )

Definition at line 408 of file ParseTarget.cpp.

References end, and subcurrent.

Referenced by RexxTrigger::parse().

Member Data Documentation

◆ argcount

size_t RexxTarget::argcount

Definition at line 75 of file ParseTarget.hpp.

Referenced by init(), and next().

◆ arglist

RexxObject** RexxTarget::arglist

Definition at line 72 of file ParseTarget.hpp.

Referenced by init(), and next().

◆ end

◆ next_argument

size_t RexxTarget::next_argument

Definition at line 82 of file ParseTarget.hpp.

Referenced by init(), and next().

◆ pattern_end

stringsize_t RexxTarget::pattern_end

◆ pattern_start

stringsize_t RexxTarget::pattern_start

◆ stack

RexxExpressionStack* RexxTarget::stack

Definition at line 73 of file ParseTarget.hpp.

Referenced by init(), and next().

◆ stackTop

size_t RexxTarget::stackTop

Definition at line 74 of file ParseTarget.hpp.

Referenced by init(), and next().

◆ start

◆ string

RexxString* RexxTarget::string

Definition at line 71 of file ParseTarget.hpp.

Referenced by getWord(), and remainder().

◆ string_length

◆ subcurrent

◆ translate

size_t RexxTarget::translate

Definition at line 83 of file ParseTarget.hpp.

Referenced by init(), and next().


The documentation for this class was generated from the following files: