1 Clazz.declarePackage ("com.stevesoft.pat");
\r
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Backup", ["com.stevesoft.pat.patInt"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
5 Clazz.instantialize (this, arguments);
\r
6 }, com.stevesoft.pat, "Backup", com.stevesoft.pat.Pattern);
\r
7 Clazz.makeConstructor (c$,
\r
9 Clazz.superConstructor (this, com.stevesoft.pat.Backup, []);
\r
12 Clazz.overrideMethod (c$, "toString",
\r
14 return "(?" + (this.bk < 0 ? ">" + (-this.bk) : "<" + this.bk) + ")" + this.nextString ();
\r
16 Clazz.overrideMethod (c$, "matchInternal",
\r
17 function (pos, pt) {
\r
18 if (pos < this.bk) {
\r
20 }return this.nextMatch (pos - this.bk, pt);
\r
21 }, "~N,com.stevesoft.pat.Pthings");
\r
22 Clazz.overrideMethod (c$, "minChars",
\r
24 return new com.stevesoft.pat.patInt (-this.bk);
\r
26 Clazz.overrideMethod (c$, "maxChars",
\r
28 return new com.stevesoft.pat.patInt (-this.bk);
\r
30 Clazz.overrideMethod (c$, "clone1",
\r
32 return new com.stevesoft.pat.Backup (this.bk);
\r
33 }, "java.util.Hashtable");
\r