1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_util_regex_RE__
#define __gnu_java_util_regex_RE__
#pragma interface
#include <gnu/java/util/regex/REToken.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace lang
{
class CPStringBuilder;
}
namespace util
{
namespace regex
{
class CharIndexed;
class RE;
class RE$CharExpression;
class RE$CharUnit;
class RE$IntPair;
class RE$NamedProperty;
class RE$ParseCharClassResult;
class REMatch;
class REMatchEnumeration;
class RESyntax;
class REToken;
class RETokenNamedProperty;
}
}
}
}
}
class gnu::java::util::regex::RE : public ::gnu::java::util::regex::REToken
{
public:
static ::java::lang::String * version();
public: // actually package-private
static ::java::lang::String * getLocalizedMessage(::java::lang::String *);
public:
RE(::java::lang::Object *);
RE(::java::lang::Object *, jint);
RE(::java::lang::Object *, jint, ::gnu::java::util::regex::RESyntax *);
private:
RE(::gnu::java::util::regex::REToken *, ::gnu::java::util::regex::REToken *, jint, jint, jint, jint);
RE(::java::lang::Object *, jint, ::gnu::java::util::regex::RESyntax *, jint, jint);
public: // actually protected
RE();
virtual void initialize(::java::lang::Object *, jint, ::gnu::java::util::regex::RESyntax *, jint, jint);
private:
static ::gnu::java::util::regex::RE$ParseCharClassResult * parseCharClass(jint, JArray< jchar > *, jint, jint, jint, ::gnu::java::util::regex::RESyntax *, jint);
static jint getCharUnit(JArray< jchar > *, jint, ::gnu::java::util::regex::RE$CharUnit *, jboolean);
static jint parseInt(JArray< jchar > *, jint, jint, jint);
static ::gnu::java::util::regex::RE$CharExpression * getCharExpression(JArray< jchar > *, jint, jint, ::gnu::java::util::regex::RESyntax *);
static ::gnu::java::util::regex::RE$NamedProperty * getNamedProperty(JArray< jchar > *, jint, jint);
static ::gnu::java::util::regex::RETokenNamedProperty * getRETokenNamedProperty(jint, ::gnu::java::util::regex::RE$NamedProperty *, jboolean, jint);
public:
virtual jboolean isMatch(::java::lang::Object *);
virtual jboolean isMatch(::java::lang::Object *, jint);
virtual jboolean isMatch(::java::lang::Object *, jint, jint);
private:
jboolean isMatchImpl(::gnu::java::util::regex::CharIndexed *, jint, jint);
public:
virtual jint getNumSubs();
public: // actually package-private
virtual void setUncle(::gnu::java::util::regex::REToken *);
virtual jboolean chain(::gnu::java::util::regex::REToken *);
public:
virtual jint getMinimumLength();
virtual jint getMaximumLength();
virtual JArray< ::gnu::java::util::regex::REMatch * > * getAllMatches(::java::lang::Object *);
virtual JArray< ::gnu::java::util::regex::REMatch * > * getAllMatches(::java::lang::Object *, jint);
virtual JArray< ::gnu::java::util::regex::REMatch * > * getAllMatches(::java::lang::Object *, jint, jint);
private:
JArray< ::gnu::java::util::regex::REMatch * > * getAllMatchesImpl(::gnu::java::util::regex::CharIndexed *, jint, jint);
public: // actually package-private
virtual jboolean match(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
virtual ::gnu::java::util::regex::REMatch * findMatch(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
public:
virtual ::gnu::java::util::regex::REMatch * getMatch(::java::lang::Object *);
virtual ::gnu::java::util::regex::REMatch * getMatch(::java::lang::Object *, jint);
virtual ::gnu::java::util::regex::REMatch * getMatch(::java::lang::Object *, jint, jint);
virtual ::gnu::java::util::regex::REMatch * getMatch(::java::lang::Object *, jint, jint, ::gnu::java::lang::CPStringBuilder *);
public: // actually package-private
virtual ::gnu::java::util::regex::REMatch * getMatchImpl(::gnu::java::util::regex::CharIndexed *, jint, jint, ::gnu::java::lang::CPStringBuilder *);
public:
virtual ::gnu::java::util::regex::REMatchEnumeration * getMatchEnumeration(::java::lang::Object *);
virtual ::gnu::java::util::regex::REMatchEnumeration * getMatchEnumeration(::java::lang::Object *, jint);
virtual ::gnu::java::util::regex::REMatchEnumeration * getMatchEnumeration(::java::lang::Object *, jint, jint);
virtual ::java::lang::String * substitute(::java::lang::Object *, ::java::lang::String *);
virtual ::java::lang::String * substitute(::java::lang::Object *, ::java::lang::String *, jint);
virtual ::java::lang::String * substitute(::java::lang::Object *, ::java::lang::String *, jint, jint);
private:
::java::lang::String * substituteImpl(::gnu::java::util::regex::CharIndexed *, ::java::lang::String *, jint, jint);
public:
virtual ::java::lang::String * substituteAll(::java::lang::Object *, ::java::lang::String *);
virtual ::java::lang::String * substituteAll(::java::lang::Object *, ::java::lang::String *, jint);
virtual ::java::lang::String * substituteAll(::java::lang::Object *, ::java::lang::String *, jint, jint);
private:
::java::lang::String * substituteAllImpl(::gnu::java::util::regex::CharIndexed *, ::java::lang::String *, jint, jint);
public:
static ::java::lang::String * getReplacement(::java::lang::String *, ::gnu::java::util::regex::REMatch *, jint);
private:
void addToken(::gnu::java::util::regex::REToken *);
static ::gnu::java::util::regex::REToken * setRepeated(::gnu::java::util::regex::REToken *, jint, jint, jint);
static jint getPosixSet(JArray< jchar > *, jint, ::gnu::java::lang::CPStringBuilder *);
jint getMinMax(JArray< jchar > *, jint, ::gnu::java::util::regex::RE$IntPair *, ::gnu::java::util::regex::RESyntax *);
public:
virtual ::java::lang::String * toString();
public: // actually package-private
virtual void dump(::gnu::java::lang::CPStringBuilder *);
public:
static ::gnu::java::util::regex::CharIndexed * makeCharIndexed(::java::lang::Object *, jint);
private:
static ::java::lang::String * VERSION;
static ::java::util::ResourceBundle * messages;
static ::java::lang::String * bundle;
::gnu::java::util::regex::REToken * __attribute__((aligned(__alignof__( ::gnu::java::util::regex::REToken)))) firstToken;
::gnu::java::util::regex::REToken * lastToken;
jint numSubs;
jint minimumLength;
jint maximumLength;
public:
static const jint REG_ICASE = 2;
static const jint REG_DOT_NEWLINE = 4;
static const jint REG_MULTILINE = 8;
static const jint REG_NOTBOL = 16;
static const jint REG_NOTEOL = 32;
static const jint REG_ANCHORINDEX = 64;
static const jint REG_NO_INTERPOLATE = 128;
static const jint REG_TRY_ENTIRE_MATCH = 256;
static const jint REG_REPLACE_USE_BACKSLASHESCAPE = 512;
static const jint REG_X_COMMENTS = 1024;
static const jint REG_ICASE_USASCII = 2048;
static const jint REG_FIX_STARTING_POSITION = 4096;
static ::java::lang::Class class$;
};
#endif // __gnu_java_util_regex_RE__
|