1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_java_util_regex_REToken__
|
5 |
|
|
#define __gnu_java_util_regex_REToken__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace gnu
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace lang
|
17 |
|
|
{
|
18 |
|
|
class CPStringBuilder;
|
19 |
|
|
}
|
20 |
|
|
namespace util
|
21 |
|
|
{
|
22 |
|
|
namespace regex
|
23 |
|
|
{
|
24 |
|
|
class CharIndexed;
|
25 |
|
|
class REMatch;
|
26 |
|
|
class REToken;
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
|
33 |
|
|
class gnu::java::util::regex::REToken : public ::java::lang::Object
|
34 |
|
|
{
|
35 |
|
|
|
36 |
|
|
public:
|
37 |
|
|
virtual ::java::lang::Object * clone();
|
38 |
|
|
public: // actually protected
|
39 |
|
|
REToken(jint);
|
40 |
|
|
public: // actually package-private
|
41 |
|
|
virtual jint getMinimumLength();
|
42 |
|
|
virtual jint getMaximumLength();
|
43 |
|
|
virtual void setUncle(::gnu::java::util::regex::REToken *);
|
44 |
|
|
virtual jboolean match(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
45 |
|
|
virtual jboolean matchFake(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
46 |
|
|
private:
|
47 |
|
|
jboolean match(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, jboolean);
|
48 |
|
|
public: // actually package-private
|
49 |
|
|
virtual void setHitEnd(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
50 |
|
|
virtual ::gnu::java::util::regex::REMatch * matchThis(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
51 |
|
|
public: // actually protected
|
52 |
|
|
virtual jboolean next(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
53 |
|
|
public: // actually package-private
|
54 |
|
|
virtual ::gnu::java::util::regex::REToken * getNext();
|
55 |
|
|
virtual ::gnu::java::util::regex::REMatch * findMatch(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
|
56 |
|
|
virtual jboolean returnsFixedLengthMatches();
|
57 |
|
|
virtual jint findFixedLengthMatches(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, jint);
|
58 |
|
|
virtual ::gnu::java::util::regex::REMatch * backtrack(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, ::java::lang::Object *);
|
59 |
|
|
virtual jboolean chain(::gnu::java::util::regex::REToken *);
|
60 |
|
|
virtual void dump(::gnu::java::lang::CPStringBuilder *) = 0;
|
61 |
|
|
virtual void dumpAll(::gnu::java::lang::CPStringBuilder *);
|
62 |
|
|
public:
|
63 |
|
|
virtual ::java::lang::String * toString();
|
64 |
|
|
static jchar toLowerCase(jchar, jboolean);
|
65 |
|
|
static jchar toUpperCase(jchar, jboolean);
|
66 |
|
|
public: // actually protected
|
67 |
|
|
::gnu::java::util::regex::REToken * __attribute__((aligned(__alignof__( ::java::lang::Object)))) next__;
|
68 |
|
|
::gnu::java::util::regex::REToken * uncle;
|
69 |
|
|
jint subIndex;
|
70 |
|
|
jboolean unicodeAware;
|
71 |
|
|
public:
|
72 |
|
|
static ::java::lang::Class class$;
|
73 |
|
|
};
|
74 |
|
|
|
75 |
|
|
#endif // __gnu_java_util_regex_REToken__
|