New/Updated test cases. Fixed TraceTest so that it isn't causing test
[mono.git] / mcs / class / System / System.Text.RegularExpressions / RegexRunner.cs
1 //\r
2 // assembly:    System\r
3 // namespace:   System.Text.RegularExpressions\r
4 // file:        RegexRunner.cs\r
5 //\r
6 // author:      Dan Lewis (dihlewis@yahoo.co.uk)\r
7 //              (c) 2002\r
8 \r
9 using System;\r
10 \r
11 namespace System.Text.RegularExpressions {\r
12         \r
13         public abstract class RegexRunner {\r
14                 // constructor\r
15         \r
16                 protected internal RegexRunner () {\r
17                         throw new NotImplementedException ("RegexRunner is not supported by Mono.");\r
18                 }\r
19 \r
20                 // protected abstract\r
21 \r
22                 protected abstract bool FindFirstChar ();\r
23 \r
24                 protected abstract void Go ();\r
25 \r
26                 protected abstract void InitTrackCount ();\r
27 \r
28                 // protected methods\r
29 \r
30                 protected void Capture (int capnum, int start, int end) {\r
31                 }\r
32 \r
33                 protected static bool CharInSet (char ch, string set, string category) {\r
34                         return false;\r
35                 }\r
36 \r
37                 protected void Crawl (int i) {\r
38                 }\r
39 \r
40                 protected int CrawlPos () {\r
41                         return 0;\r
42                 }\r
43 \r
44                 protected void DoubleCrawl () {\r
45                 }\r
46 \r
47                 protected void DoubleStack () {\r
48                 }\r
49 \r
50                 protected void DoubleTrack () {\r
51                 }\r
52 \r
53                 protected void EnsureStorage () {\r
54                 }\r
55 \r
56                 protected bool IsBoundary (int index, int startpos, int endpos) {\r
57                         return false;\r
58                 }\r
59 \r
60                 protected bool IsECMABoundary (int index, int startpos, int endpos) {\r
61                         return false;\r
62                 }\r
63 \r
64                 protected bool IsMatched (int cap) {\r
65                         return false;\r
66                 }\r
67 \r
68                 protected int MatchIndex (int cap) {\r
69                         return 0;\r
70                 }\r
71 \r
72                 protected int MatchLength (int cap) {\r
73                         return 0;\r
74                 }\r
75 \r
76                 protected int PopCrawl () {\r
77                         return 0;\r
78                 }\r
79 \r
80                 protected void TransferCapture (int capnum, int uncapnum, int start, int end) {\r
81                 }\r
82 \r
83                 protected void Uncapture () {\r
84                 }\r
85 \r
86                 // internal\r
87                 \r
88                 protected internal Match Scan (Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick) {\r
89                         return null;\r
90                 }\r
91         }\r
92 }\r