1 Clazz.declarePackage ("com.stevesoft.pat");
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.End", ["com.stevesoft.pat.patInt"], function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, com.stevesoft.pat, "End", com.stevesoft.pat.Pattern);
7 Clazz.makeConstructor (c$,
9 Clazz.superConstructor (this, com.stevesoft.pat.End, []);
12 Clazz.overrideMethod (c$, "matchInternal",
14 if (this.retIsEnd && pt.mFlag && pos < pt.src.length ()) {
15 if (pt.src.charAt (pos) == '\n') {
16 return this.nextMatch (pos, pt);
17 }}if (pt.src.length () == pos) {
18 return this.nextMatch (pos, pt);
19 } else if (pos < pt.src.length ()) {
22 }, "~N,com.stevesoft.pat.Pthings");
23 Clazz.overrideMethod (c$, "toString",
30 Clazz.overrideMethod (c$, "maxChars",
32 return new com.stevesoft.pat.patInt (1);
34 Clazz.overrideMethod (c$, "clone1",
36 return new com.stevesoft.pat.End (this.retIsEnd);
37 }, "java.util.Hashtable");