JAL-1807 test
[jalviewjs.git] / bin / com / stevesoft / pat / Or.js
index 1ca2671..9255825 100644 (file)
@@ -1,92 +1,92 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Or", ["com.stevesoft.pat.patInt", "java.lang.StringBuffer", "java.util.Vector"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.v = null;\r
-this.pv = null;\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat, "Or", com.stevesoft.pat.Pattern);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-Clazz.superConstructor (this, com.stevesoft.pat.Or, []);\r
-this.v =  new java.util.Vector ();\r
-});\r
-Clazz.defineMethod (c$, "leftForm", \r
-function () {\r
-return "(?:";\r
-});\r
-Clazz.defineMethod (c$, "rightForm", \r
-function () {\r
-return ")";\r
-});\r
-Clazz.defineMethod (c$, "sepForm", \r
-function () {\r
-return "|";\r
-});\r
-Clazz.defineMethod (c$, "addOr", \r
-function (p) {\r
-this.pv = null;\r
-this.v.addElement (p);\r
-p.setParent (this);\r
-return this;\r
-}, "com.stevesoft.pat.Pattern");\r
-Clazz.defineMethod (c$, "toString", \r
-function () {\r
-var i;\r
-var sb =  new StringBuffer ();\r
-sb.append (this.leftForm ());\r
-if (this.v.size () > 0) {\r
-sb.append ((this.v.elementAt (0)).toString ());\r
-}for (i = 1; i < this.v.size (); i++) {\r
-sb.append (this.sepForm ());\r
-sb.append ((this.v.elementAt (i)).toString ());\r
-}\r
-sb.append (this.rightForm ());\r
-sb.append (this.nextString ());\r
-return sb.toString ();\r
-});\r
-Clazz.defineMethod (c$, "matchInternal", \r
-function (pos, pt) {\r
-if (this.pv == null) {\r
-this.pv =  new Array (this.v.size ());\r
-this.v.copyInto (this.pv);\r
-}for (var i = 0; i < this.v.size (); i++) {\r
-var p = this.pv[i];\r
-var r = p.matchInternal (pos, pt);\r
-if (r >= 0) {\r
-return r;\r
-}}\r
-return -1;\r
-}, "~N,com.stevesoft.pat.Pthings");\r
-Clazz.overrideMethod (c$, "minChars", \r
-function () {\r
-if (this.v.size () == 0) {\r
-return  new com.stevesoft.pat.patInt (0);\r
-}var m = (this.v.elementAt (0)).countMinChars ();\r
-for (var i = 1; i < this.v.size (); i++) {\r
-var p = this.v.elementAt (i);\r
-m.mineq (p.countMinChars ());\r
-}\r
-return m;\r
-});\r
-Clazz.overrideMethod (c$, "maxChars", \r
-function () {\r
-if (this.v.size () == 0) {\r
-return  new com.stevesoft.pat.patInt (0);\r
-}var m = (this.v.elementAt (0)).countMaxChars ();\r
-for (var i = 1; i < this.v.size (); i++) {\r
-var p = this.v.elementAt (i);\r
-m.maxeq (p.countMaxChars ());\r
-}\r
-return m;\r
-});\r
-Clazz.overrideMethod (c$, "clone1", \r
-function (h) {\r
-var o =  new com.stevesoft.pat.Or ();\r
-h.put (this, o);\r
-h.put (o, o);\r
-for (var i = 0; i < this.v.size (); i++) {\r
-o.v.addElement ((this.v.elementAt (i)).clone (h));\r
-}\r
-return o;\r
-}, "java.util.Hashtable");\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Or", ["com.stevesoft.pat.patInt", "java.lang.StringBuffer", "java.util.Vector"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.v = null;
+this.pv = null;
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat, "Or", com.stevesoft.pat.Pattern);
+Clazz.makeConstructor (c$, 
+function () {
+Clazz.superConstructor (this, com.stevesoft.pat.Or, []);
+this.v =  new java.util.Vector ();
+});
+Clazz.defineMethod (c$, "leftForm", 
+function () {
+return "(?:";
+});
+Clazz.defineMethod (c$, "rightForm", 
+function () {
+return ")";
+});
+Clazz.defineMethod (c$, "sepForm", 
+function () {
+return "|";
+});
+Clazz.defineMethod (c$, "addOr", 
+function (p) {
+this.pv = null;
+this.v.addElement (p);
+p.setParent (this);
+return this;
+}, "com.stevesoft.pat.Pattern");
+Clazz.defineMethod (c$, "toString", 
+function () {
+var i;
+var sb =  new StringBuffer ();
+sb.append (this.leftForm ());
+if (this.v.size () > 0) {
+sb.append ((this.v.elementAt (0)).toString ());
+}for (i = 1; i < this.v.size (); i++) {
+sb.append (this.sepForm ());
+sb.append ((this.v.elementAt (i)).toString ());
+}
+sb.append (this.rightForm ());
+sb.append (this.nextString ());
+return sb.toString ();
+});
+Clazz.defineMethod (c$, "matchInternal", 
+function (pos, pt) {
+if (this.pv == null) {
+this.pv =  new Array (this.v.size ());
+this.v.copyInto (this.pv);
+}for (var i = 0; i < this.v.size (); i++) {
+var p = this.pv[i];
+var r = p.matchInternal (pos, pt);
+if (r >= 0) {
+return r;
+}}
+return -1;
+}, "~N,com.stevesoft.pat.Pthings");
+Clazz.overrideMethod (c$, "minChars", 
+function () {
+if (this.v.size () == 0) {
+return  new com.stevesoft.pat.patInt (0);
+}var m = (this.v.elementAt (0)).countMinChars ();
+for (var i = 1; i < this.v.size (); i++) {
+var p = this.v.elementAt (i);
+m.mineq (p.countMinChars ());
+}
+return m;
+});
+Clazz.overrideMethod (c$, "maxChars", 
+function () {
+if (this.v.size () == 0) {
+return  new com.stevesoft.pat.patInt (0);
+}var m = (this.v.elementAt (0)).countMaxChars ();
+for (var i = 1; i < this.v.size (); i++) {
+var p = this.v.elementAt (i);
+m.maxeq (p.countMaxChars ());
+}
+return m;
+});
+Clazz.overrideMethod (c$, "clone1", 
+function (h) {
+var o =  new com.stevesoft.pat.Or ();
+h.put (this, o);
+h.put (o, o);
+for (var i = 0; i < this.v.size (); i++) {
+o.v.addElement ((this.v.elementAt (i)).clone (h));
+}
+return o;
+}, "java.util.Hashtable");
+});