JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / bin / com / stevesoft / pat / Skip2.js
index c06b56e..e69b45e 100644 (file)
@@ -1,31 +1,31 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-Clazz.load (["com.stevesoft.pat.Skip"], "com.stevesoft.pat.Skip2", ["com.stevesoft.pat.CaseMgr"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.c1 = 0;\r
-this.mask1 = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat, "Skip2", com.stevesoft.pat.Skip);\r
-Clazz.makeConstructor (c$, \r
-function (s, ign, offset) {\r
-Clazz.superConstructor (this, com.stevesoft.pat.Skip2, [s, ign, offset]);\r
-this.c1 = s.charCodeAt (1);\r
-this.m1 = 2 == s.length;\r
-if (ign) {\r
-this.mask1 = com.stevesoft.pat.Skip.mkmask (this.c1);\r
-} else {\r
-this.mask1 = 0;\r
-}}, "~S,~B,~N");\r
-Clazz.defineMethod (c$, "find", \r
-function (s, start, end) {\r
-if (start > end) {\r
-return -1;\r
-}start += this.$offset;\r
-var vend = com.stevesoft.pat.Skip.min (s.length () - 2, end + this.$offset);\r
-for (var i = start; i <= vend; i++) {\r
-if (0 == (s.charCodeAt (i) & this.mask) && 0 == (s.charCodeAt (i + 1) & this.mask1)) {\r
-if (this.m1 || com.stevesoft.pat.CaseMgr.regionMatchesLike2 (s, this.ign, i, this.src, 0, this.src.length)) {\r
-return i - this.$offset;\r
-}}}\r
-return -1;\r
-}, "com.stevesoft.pat.StringLike,~N,~N");\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.Skip"], "com.stevesoft.pat.Skip2", ["com.stevesoft.pat.CaseMgr"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.c1 = 0;
+this.mask1 = 0;
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat, "Skip2", com.stevesoft.pat.Skip);
+Clazz.makeConstructor (c$, 
+function (s, ign, offset) {
+Clazz.superConstructor (this, com.stevesoft.pat.Skip2, [s, ign, offset]);
+this.c1 = s.charCodeAt (1);
+this.m1 = 2 == s.length;
+if (ign) {
+this.mask1 = com.stevesoft.pat.Skip.mkmask (this.c1);
+} else {
+this.mask1 = 0;
+}}, "~S,~B,~N");
+Clazz.defineMethod (c$, "find", 
+function (s, start, end) {
+if (start > end) {
+return -1;
+}start += this.$offset;
+var vend = com.stevesoft.pat.Skip.min (s.length () - 2, end + this.$offset);
+for (var i = start; i <= vend; i++) {
+if (0 == (s.charCodeAt (i) & this.mask) && 0 == (s.charCodeAt (i + 1) & this.mask1)) {
+if (this.m1 || com.stevesoft.pat.CaseMgr.regionMatchesLike2 (s, this.ign, i, this.src, 0, this.src.length)) {
+return i - this.$offset;
+}}}
+return -1;
+}, "com.stevesoft.pat.StringLike,~N,~N");
+});