summaryrefslogtreecommitdiff
path: root/libjava/java/util/regex/Matcher.h
blob: 74230ef51b720b16ef1384896f003bf176bd2b27 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_regex_Matcher__
#define __java_util_regex_Matcher__

#pragma interface

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

class java::util::regex::Matcher : public ::java::lang::Object
{

public: // actually package-private
  Matcher(::java::util::regex::Pattern *, ::java::lang::CharSequence *);
public:
  ::java::util::regex::Matcher * appendReplacement(::java::lang::StringBuffer *, ::java::lang::String *);
  ::java::lang::StringBuffer * appendTail(::java::lang::StringBuffer *);
  jint end();
  jint end(jint);
  jboolean find();
  jboolean find(jint);
  ::java::lang::String * group();
  ::java::lang::String * group(jint);
  ::java::lang::String * replaceFirst(::java::lang::String *);
  ::java::lang::String * replaceAll(::java::lang::String *);
  jint groupCount();
  jboolean lookingAt();
  jboolean matches();
  ::java::util::regex::Pattern * pattern();
  ::java::util::regex::Matcher * reset();
  ::java::util::regex::Matcher * reset(::java::lang::CharSequence *);
  jint start();
  jint start(jint);
  jboolean hitEnd();
  ::java::lang::String * toString();
private:
  void assertMatchOp();
public:
  ::java::util::regex::Matcher * region(jint, jint);
  jint regionStart();
  jint regionEnd();
  jboolean hasTransparentBounds();
  ::java::util::regex::Matcher * useTransparentBounds(jboolean);
  jboolean hasAnchoringBounds();
  ::java::util::regex::Matcher * useAnchoringBounds(jboolean);
  ::java::util::regex::MatchResult * toMatchResult();
private:
  ::java::util::regex::Pattern * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pattern__;
  ::java::lang::CharSequence * input;
  ::gnu::java::util::regex::CharIndexed * inputCharIndexed;
  jint position;
  jint appendPosition;
  ::gnu::java::util::regex::REMatch * match;
  jint regionStart__;
  jint regionEnd__;
  jboolean transparentBounds;
  jint anchoringBounds;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_regex_Matcher__