1 Clazz.declarePackage ("com.stevesoft.pat");
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.BackMatch", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, com.stevesoft.pat, "BackMatch", com.stevesoft.pat.Pattern);
7 Clazz.makeConstructor (c$,
9 Clazz.superConstructor (this, com.stevesoft.pat.BackMatch, []);
12 Clazz.overrideMethod (c$, "toString",
14 return "\\" + (this.id) + this.nextString ();
16 Clazz.overrideMethod (c$, "matchInternal",
18 var i1 = p.marks[this.id];
19 var i2 = p.marks[this.id + p.nMarks];
21 if (i1 < 0 || imax < 0 || pos + imax > p.src.length ()) {
23 }var ns = p.src.length () - pos;
26 }for (var i = 0; i < ns; i++) {
27 if (p.src.charAt (i + i1) != p.src.charAt (pos + i)) {
30 return this.nextMatch (pos + imax, p);
31 }, "~N,com.stevesoft.pat.Pthings");
32 Clazz.overrideMethod (c$, "clone1",
34 return new com.stevesoft.pat.BackMatch (this.id);
35 }, "java.util.Hashtable");