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

#ifndef __gnu_java_util_regex_CharIndexedCharSequence__
#define __gnu_java_util_regex_CharIndexedCharSequence__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace util
      {
        namespace regex
        {
            class CharIndexed;
            class CharIndexedCharSequence;
            class REMatch;
        }
      }
    }
  }
}

class gnu::java::util::regex::CharIndexedCharSequence : public ::java::lang::Object
{

public: // actually package-private
  CharIndexedCharSequence(::java::lang::CharSequence *, jint);
public:
  virtual jchar charAt(jint);
  virtual jboolean isValid();
  virtual jboolean move(jint);
  virtual jboolean move1(jint);
  virtual ::gnu::java::util::regex::CharIndexed * lookBehind(jint, jint);
  virtual jint length();
  virtual void setLastMatch(::gnu::java::util::regex::REMatch *);
  virtual ::gnu::java::util::regex::REMatch * getLastMatch();
  virtual void setHitEnd(::gnu::java::util::regex::REMatch *);
  virtual jboolean hitEnd();
  virtual jint getAnchor();
  virtual void setAnchor(jint);
private:
  ::java::lang::CharSequence * __attribute__((aligned(__alignof__( ::java::lang::Object)))) s;
  jint anchor;
  jint len;
  ::gnu::java::util::regex::REMatch * lastMatch;
  jint rightmostTriedPosition;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_util_regex_CharIndexedCharSequence__