1 Clazz.declarePackage ("com.stevesoft.pat");
\r
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Skipped", ["com.stevesoft.pat.CaseMgr", "$.patInt"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
5 Clazz.instantialize (this, arguments);
\r
6 }, com.stevesoft.pat, "Skipped", com.stevesoft.pat.Pattern);
\r
7 Clazz.makeConstructor (c$,
\r
9 Clazz.superConstructor (this, com.stevesoft.pat.Skipped, []);
\r
12 Clazz.overrideMethod (c$, "toString",
\r
14 return this.s + this.nextString ();
\r
16 Clazz.overrideMethod (c$, "matchInternal",
\r
17 function (pos, pt) {
\r
18 if (pt.no_check || com.stevesoft.pat.CaseMgr.regionMatches (this.s, pt.ignoreCase, 0, pt.src, pos, this.s.length)) {
\r
19 return this.nextMatch (pos + this.s.length, pt);
\r
21 }, "~N,com.stevesoft.pat.Pthings");
\r
22 Clazz.overrideMethod (c$, "minChars",
\r
24 return new com.stevesoft.pat.patInt (this.s.length);
\r
26 Clazz.overrideMethod (c$, "maxChars",
\r
28 return new com.stevesoft.pat.patInt (this.s.length);
\r
30 Clazz.overrideMethod (c$, "clone1",
\r
32 return new com.stevesoft.pat.Skipped (this.s);
\r
33 }, "java.util.Hashtable");
\r