rxregexp.cpp File Reference
#include "dblqueue.hpp"
#include "automaton.hpp"
#include "regexp.hpp"
#include "oorexxapi.h"
#include <string.h>
Include dependency graph for rxregexp.cpp:

Go to the source code of this file.

Functions

 RexxMethod2 (int, RegExp_Init, OPTIONAL_CSTRING, expression, OPTIONAL_CSTRING, matchtype)
 
 RexxMethod1 (int, RegExp_Uninit, CSELF, self)
 
 RexxMethod3 (int, RegExp_Parse, CSELF, self, CSTRING, expression, OPTIONAL_CSTRING, matchtype)
 
 RexxMethod2 (int, RegExp_Match, CSELF, self, RexxStringObject, string)
 
 RexxMethod2 (int, RegExp_Pos, CSELF, self, RexxStringObject, string)
 
 OOREXX_GET_PACKAGE (rxregexp)
 

Variables

RexxMethodEntry rxregexp_methods []
 
RexxPackageEntry rxregexp_package_entry
 

Function Documentation

◆ OOREXX_GET_PACKAGE()

OOREXX_GET_PACKAGE ( rxregexp  )

◆ RexxMethod1()

RexxMethod1 ( int  ,
RegExp_Uninit  ,
CSELF  ,
self   
)

Definition at line 80 of file rxregexp.cpp.

◆ RexxMethod2() [1/3]

RexxMethod2 ( int  ,
RegExp_Init  ,
OPTIONAL_CSTRING  ,
expression  ,
OPTIONAL_CSTRING  ,
matchtype   
)

◆ RexxMethod2() [2/3]

RexxMethod2 ( int  ,
RegExp_Match  ,
CSELF  ,
self  ,
RexxStringObject  ,
string   
)

Definition at line 117 of file rxregexp.cpp.

References automaton::getCurrentPos(), and automaton::match().

◆ RexxMethod2() [3/3]

RexxMethod2 ( int  ,
RegExp_Pos  ,
CSELF  ,
self  ,
RexxStringObject  ,
string   
)

◆ RexxMethod3()

RexxMethod3 ( int  ,
RegExp_Parse  ,
CSELF  ,
self  ,
CSTRING  ,
expression  ,
OPTIONAL_CSTRING  ,
matchtype   
)

Variable Documentation

◆ rxregexp_methods

RexxMethodEntry rxregexp_methods[]
Initial value:
=
{
REXX_METHOD(RegExp_Init, RegExp_Init),
REXX_METHOD(RegExp_Uninit, RegExp_Uninit),
REXX_METHOD(RegExp_Parse, RegExp_Parse),
REXX_METHOD(RegExp_Pos, RegExp_Pos),
REXX_METHOD(RegExp_Match, RegExp_Match),
}
#define REXX_METHOD(n, e)
Definition: oorexxapi.h:211

Definition at line 187 of file rxregexp.cpp.

◆ rxregexp_package_entry

RexxPackageEntry rxregexp_package_entry
Initial value:
=
{
"RXREGEXP",
"4.0",
NULL,
NULL,
NULL,
}
#define REXX_INTERPRETER_4_0_0
Definition: oorexxapi.h:216
#define STANDARD_PACKAGE_HEADER
Definition: oorexxapi.h:230
RexxMethodEntry rxregexp_methods[]
Definition: rxregexp.cpp:187

Definition at line 198 of file rxregexp.cpp.