1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_java_util_regex_RETokenRepeated__
|
5 |
|
|
#define __gnu_java_util_regex_RETokenRepeated__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <gnu/java/util/regex/REToken.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace java
|
17 |
|
|
{
|
18 |
|
|
namespace lang
|
19 |
|
|
{
|
20 |
|
|
class CPStringBuilder;
|
21 |
|
|
}
|
22 |
|
|
namespace util
|
23 |
|
|
{
|
24 |
|
|
namespace regex
|
25 |
|
|
{
|
26 |
|
|
class BacktrackStack;
|
27 |
|
|
class CharIndexed;
|
28 |
|
|
class REMatch;
|
29 |
|
|
class REToken;
|
30 |
|
|
class RETokenRepeated;
|
31 |
|
|
class RETokenRepeated$DoablesFinder;
|
32 |
|
|
class RETokenRepeated$TryAnotherResult;
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
class gnu::java::util::regex::RETokenRepeated : public ::gnu::java::util::regex::REToken
|
40 |
|
|
{
|
41 |
|
|
|
42 |
|
|
public: // actually package-private
|
43 |
|
|
RETokenRepeated(jint, ::gnu::java::util::regex::REToken *, jint, jint);
|
44 |
|
|
void makeStingy();
|
45 |
|
|
jboolean isStingy();
|
46 |
|
|
void makePossessive();
|
47 |
|
|
jboolean isPossessive();
|
48 |
|
|
jint getMinimumLength();
|
49 |
|
|
jint getMaximumLength();
|
50 |
|
|
::gnu::java::util::regex::REMatch * findMatch(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
51 |
|
|
::gnu::java::util::regex::REMatch * backtrack(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, ::java::lang::Object *);
|
52 |
|
|
private:
|
53 |
|
|
::gnu::java::util::regex::REMatch * findMatch(::gnu::java::util::regex::BacktrackStack *);
|
54 |
|
|
::gnu::java::util::regex::REMatch * findMatch(::gnu::java::util::regex::BacktrackStack *, ::java::util::Deque *);
|
55 |
|
|
::gnu::java::util::regex::RETokenRepeated$TryAnotherResult * tryAnother(::gnu::java::util::regex::BacktrackStack *, ::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, jint, ::gnu::java::util::regex::RETokenRepeated$DoablesFinder *, JArray< jint > *);
|
56 |
|
|
public: // actually package-private
|
57 |
|
|
jboolean match(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
58 |
|
|
private:
|
59 |
|
|
static JArray< jint > * initVisited();
|
60 |
|
|
static jboolean visitedContains(jint, JArray< jint > *);
|
61 |
|
|
static JArray< jint > * addVisited(jint, JArray< jint > *);
|
62 |
|
|
::gnu::java::util::regex::REMatch * matchRest(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
63 |
|
|
::gnu::java::util::regex::REMatch * findMatchFixedLength(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
64 |
|
|
::gnu::java::util::regex::REMatch * backtrackFixedLength(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, ::java::lang::Object *);
|
65 |
|
|
::gnu::java::util::regex::REMatch * findMatchFixedLength(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, jint, jint);
|
66 |
|
|
public: // actually package-private
|
67 |
|
|
void dump(::gnu::java::lang::CPStringBuilder *);
|
68 |
|
|
private:
|
69 |
|
|
::gnu::java::util::regex::REToken * __attribute__((aligned(__alignof__( ::gnu::java::util::regex::REToken)))) token;
|
70 |
|
|
jint min;
|
71 |
|
|
jint max;
|
72 |
|
|
jboolean stingy;
|
73 |
|
|
jboolean possessive;
|
74 |
|
|
jint tokenFixedLength;
|
75 |
|
|
public:
|
76 |
|
|
static ::java::lang::Class class$;
|
77 |
|
|
};
|
78 |
|
|
|
79 |
|
|
#endif // __gnu_java_util_regex_RETokenRepeated__
|