JAL-1807 still testing
[jalviewjs.git] / bin / com / stevesoft / pat / Bracket.js
index 064ec34..26a2303 100644 (file)
@@ -1,60 +1,60 @@
-Clazz.declarePackage ("com.stevesoft.pat");
-Clazz.load (["com.stevesoft.pat.Or"], "com.stevesoft.pat.Bracket", ["com.stevesoft.pat.patInt", "java.util.Vector"], function () {
-c$ = Clazz.decorateAsClass (function () {
-this.neg = false;
-Clazz.instantialize (this, arguments);
-}, com.stevesoft.pat, "Bracket", com.stevesoft.pat.Or);
-Clazz.makeConstructor (c$, 
-function (n) {
-Clazz.superConstructor (this, com.stevesoft.pat.Bracket, []);
-this.neg = n;
-}, "~B");
-Clazz.overrideMethod (c$, "leftForm", 
-function () {
-if (this.neg) {
-return "[^";
-} else {
-return "[";
-}});
-Clazz.overrideMethod (c$, "rightForm", 
-function () {
-return "]";
-});
-Clazz.overrideMethod (c$, "sepForm", 
-function () {
-return "";
-});
-Clazz.defineMethod (c$, "matchInternal", 
-function (pos, pt) {
-if (pos >= pt.src.length ()) {
-return -1;
-}var r = Clazz.superCall (this, com.stevesoft.pat.Bracket, "matchInternal", [pos, pt]);
-if ((this.neg && r < 0) || (!this.neg && r >= 0)) {
-return this.nextMatch (pos + 1, pt);
-}return -1;
-}, "~N,com.stevesoft.pat.Pthings");
-Clazz.overrideMethod (c$, "minChars", 
-function () {
-return  new com.stevesoft.pat.patInt (1);
-});
-Clazz.overrideMethod (c$, "maxChars", 
-function () {
-return  new com.stevesoft.pat.patInt (1);
-});
-Clazz.overrideMethod (c$, "addOr", 
-function (p) {
-this.pv = null;
-this.v.addElement (p);
-p.setParent (null);
-return this;
-}, "com.stevesoft.pat.Pattern");
-Clazz.overrideMethod (c$, "clone1", 
-function (h) {
-var b =  new com.stevesoft.pat.Bracket (this.neg);
-b.v =  new java.util.Vector ();
-for (var i = 0; i < this.v.size (); i++) {
-b.v.addElement ((this.v.elementAt (i)).clone1 (h));
-}
-return b;
-}, "java.util.Hashtable");
-});
+Clazz.declarePackage ("com.stevesoft.pat");\r
+Clazz.load (["com.stevesoft.pat.Or"], "com.stevesoft.pat.Bracket", ["com.stevesoft.pat.patInt", "java.util.Vector"], function () {\r
+c$ = Clazz.decorateAsClass (function () {\r
+this.neg = false;\r
+Clazz.instantialize (this, arguments);\r
+}, com.stevesoft.pat, "Bracket", com.stevesoft.pat.Or);\r
+Clazz.makeConstructor (c$, \r
+function (n) {\r
+Clazz.superConstructor (this, com.stevesoft.pat.Bracket, []);\r
+this.neg = n;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "leftForm", \r
+function () {\r
+if (this.neg) {\r
+return "[^";\r
+} else {\r
+return "[";\r
+}});\r
+Clazz.overrideMethod (c$, "rightForm", \r
+function () {\r
+return "]";\r
+});\r
+Clazz.overrideMethod (c$, "sepForm", \r
+function () {\r
+return "";\r
+});\r
+Clazz.defineMethod (c$, "matchInternal", \r
+function (pos, pt) {\r
+if (pos >= pt.src.length ()) {\r
+return -1;\r
+}var r = Clazz.superCall (this, com.stevesoft.pat.Bracket, "matchInternal", [pos, pt]);\r
+if ((this.neg && r < 0) || (!this.neg && r >= 0)) {\r
+return this.nextMatch (pos + 1, pt);\r
+}return -1;\r
+}, "~N,com.stevesoft.pat.Pthings");\r
+Clazz.overrideMethod (c$, "minChars", \r
+function () {\r
+return  new com.stevesoft.pat.patInt (1);\r
+});\r
+Clazz.overrideMethod (c$, "maxChars", \r
+function () {\r
+return  new com.stevesoft.pat.patInt (1);\r
+});\r
+Clazz.overrideMethod (c$, "addOr", \r
+function (p) {\r
+this.pv = null;\r
+this.v.addElement (p);\r
+p.setParent (null);\r
+return this;\r
+}, "com.stevesoft.pat.Pattern");\r
+Clazz.overrideMethod (c$, "clone1", \r
+function (h) {\r
+var b =  new com.stevesoft.pat.Bracket (this.neg);\r
+b.v =  new java.util.Vector ();\r
+for (var i = 0; i < this.v.size (); i++) {\r
+b.v.addElement ((this.v.elementAt (i)).clone1 (h));\r
+}\r
+return b;\r
+}, "java.util.Hashtable");\r
+});\r