summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/util/regex/RETokenChar.h
blob: 723bed8c67d8fcdbf105b8d0403ee4c6c324d7e6 (plain)
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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_util_regex_RETokenChar__
#define __gnu_java_util_regex_RETokenChar__

#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 REMatch;
            class REToken;
            class RETokenChar;
        }
      }
    }
  }
}

class gnu::java::util::regex::RETokenChar : public ::gnu::java::util::regex::REToken
{

public: // actually package-private
  RETokenChar(jint, jchar, jboolean);
  jint getMinimumLength();
  jint getMaximumLength();
  ::gnu::java::util::regex::REMatch * matchThis(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *);
private:
  jboolean matchOneString(::gnu::java::util::regex::CharIndexed *, jint);
  jboolean charEquals(jchar, jchar);
public: // actually package-private
  jboolean returnsFixedLengthMatches();
  jint findFixedLengthMatches(::gnu::java::util::regex::CharIndexed *, ::gnu::java::util::regex::REMatch *, jint);
  jboolean chain(::gnu::java::util::regex::REToken *);
  void dump(::gnu::java::lang::CPStringBuilder *);
private:
  JArray< jchar > * __attribute__((aligned(__alignof__( ::gnu::java::util::regex::REToken)))) ch;
  jboolean insens;
  jint matchedLength;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_util_regex_RETokenChar__