1 Clazz.declarePackage ("com.stevesoft.pat");
\r
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.SubMark", null, function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
7 Clazz.instantialize (this, arguments);
\r
8 }, com.stevesoft.pat, "SubMark", com.stevesoft.pat.Pattern);
\r
9 Clazz.overrideMethod (c$, "toString",
\r
13 Clazz.overrideMethod (c$, "matchInternal",
\r
15 pt.marks[this.om.id + pt.nMarks] = i;
\r
16 var ret = this.nextMatch (i, pt);
\r
18 pt.marks[this.om.id + pt.nMarks] = -1;
\r
20 }, "~N,com.stevesoft.pat.Pthings");
\r