X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fcom%2Fstevesoft%2Fpat%2FSkipped.js;h=8f6f1d30afd7570111c7a3bc7a258a0520d9bbbd;hp=07c5ca93c23d22ef9c0851014ca7281dca71316d;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=8ffd05b3abe52c0b6b79b011c0966361f82d5fe6 diff --git a/site/j2s/com/stevesoft/pat/Skipped.js b/site/j2s/com/stevesoft/pat/Skipped.js index 07c5ca9..8f6f1d3 100644 --- a/site/j2s/com/stevesoft/pat/Skipped.js +++ b/site/j2s/com/stevesoft/pat/Skipped.js @@ -1,34 +1,34 @@ -Clazz.declarePackage ("com.stevesoft.pat"); -Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Skipped", ["com.stevesoft.pat.CaseMgr", "$.patInt"], function () { -c$ = Clazz.decorateAsClass (function () { -this.s = null; -Clazz.instantialize (this, arguments); -}, com.stevesoft.pat, "Skipped", com.stevesoft.pat.Pattern); -Clazz.makeConstructor (c$, -function (s) { -Clazz.superConstructor (this, com.stevesoft.pat.Skipped, []); -this.s = s; -}, "~S"); -Clazz.overrideMethod (c$, "toString", -function () { -return this.s + this.nextString (); -}); -Clazz.overrideMethod (c$, "matchInternal", -function (pos, pt) { -if (pt.no_check || com.stevesoft.pat.CaseMgr.regionMatches (this.s, pt.ignoreCase, 0, pt.src, pos, this.s.length)) { -return this.nextMatch (pos + this.s.length, pt); -}return -1; -}, "~N,com.stevesoft.pat.Pthings"); -Clazz.overrideMethod (c$, "minChars", -function () { -return new com.stevesoft.pat.patInt (this.s.length); -}); -Clazz.overrideMethod (c$, "maxChars", -function () { -return new com.stevesoft.pat.patInt (this.s.length); -}); -Clazz.overrideMethod (c$, "clone1", -function (h) { -return new com.stevesoft.pat.Skipped (this.s); -}, "java.util.Hashtable"); -}); +Clazz.declarePackage ("com.stevesoft.pat"); +Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Skipped", ["com.stevesoft.pat.CaseMgr", "$.patInt"], function () { +c$ = Clazz.decorateAsClass (function () { +this.s = null; +Clazz.instantialize (this, arguments); +}, com.stevesoft.pat, "Skipped", com.stevesoft.pat.Pattern); +Clazz.makeConstructor (c$, +function (s) { +Clazz.superConstructor (this, com.stevesoft.pat.Skipped, []); +this.s = s; +}, "~S"); +Clazz.overrideMethod (c$, "toString", +function () { +return this.s + this.nextString (); +}); +Clazz.overrideMethod (c$, "matchInternal", +function (pos, pt) { +if (pt.no_check || com.stevesoft.pat.CaseMgr.regionMatches (this.s, pt.ignoreCase, 0, pt.src, pos, this.s.length)) { +return this.nextMatch (pos + this.s.length, pt); +}return -1; +}, "~N,com.stevesoft.pat.Pthings"); +Clazz.overrideMethod (c$, "minChars", +function () { +return new com.stevesoft.pat.patInt (this.s.length); +}); +Clazz.overrideMethod (c$, "maxChars", +function () { +return new com.stevesoft.pat.patInt (this.s.length); +}); +Clazz.overrideMethod (c$, "clone1", +function (h) { +return new com.stevesoft.pat.Skipped (this.s); +}, "java.util.Hashtable"); +});