Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / com / stevesoft / pat / Boundary.js
index 58bb19c..9eaff99 100644 (file)
@@ -1,52 +1,52 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Boundary", ["com.stevesoft.pat.patInt"], function () {\r
-c$ = Clazz.declareType (com.stevesoft.pat, "Boundary", com.stevesoft.pat.Pattern);\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return "\\b" + this.nextString ();\r
-});\r
-Clazz.defineMethod (c$, "isAChar", \r
-function (c) {\r
-if (c >= 'a' && c <= 'z') {\r
-return true;\r
-}if (c >= 'A' && c <= 'Z') {\r
-return true;\r
-}if (c >= '0' && c <= '9') {\r
-return true;\r
-}if (c == '_') {\r
-return true;\r
-}return false;\r
-}, "~S");\r
-Clazz.defineMethod (c$, "matchLeft", \r
-function (pos, pt) {\r
-if (pos <= 0) {\r
-return true;\r
-}if (this.isAChar (pt.src.charAt (pos)) && this.isAChar (pt.src.charAt (pos - 1))) {\r
-return false;\r
-}return true;\r
-}, "~N,com.stevesoft.pat.Pthings");\r
-Clazz.defineMethod (c$, "matchRight", \r
-function (pos, pt) {\r
-if (pos < 0) {\r
-return false;\r
-}if (pos + 1 >= pt.src.length ()) {\r
-return true;\r
-}if (this.isAChar (pt.src.charAt (pos)) && this.isAChar (pt.src.charAt (pos + 1))) {\r
-return false;\r
-}return true;\r
-}, "~N,com.stevesoft.pat.Pthings");\r
-Clazz.overrideMethod (c$, "matchInternal", \r
-function (pos, pt) {\r
-if (this.matchRight (pos - 1, pt) || this.matchLeft (pos, pt)) {\r
-return this.nextMatch (pos, pt);\r
-}return -1;\r
-}, "~N,com.stevesoft.pat.Pthings");\r
-Clazz.overrideMethod (c$, "maxChars", \r
-function () {\r
-return  new com.stevesoft.pat.patInt (0);\r
-});\r
-Clazz.overrideMethod (c$, "clone1", \r
-function (h) {\r
-return  new com.stevesoft.pat.Boundary ();\r
-}, "java.util.Hashtable");\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Boundary", ["com.stevesoft.pat.patInt"], function () {
+c$ = Clazz.declareType (com.stevesoft.pat, "Boundary", com.stevesoft.pat.Pattern);
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return "\\b" + this.nextString ();
+});
+Clazz.defineMethod (c$, "isAChar", 
+function (c) {
+if (c >= 'a' && c <= 'z') {
+return true;
+}if (c >= 'A' && c <= 'Z') {
+return true;
+}if (c >= '0' && c <= '9') {
+return true;
+}if (c == '_') {
+return true;
+}return false;
+}, "~S");
+Clazz.defineMethod (c$, "matchLeft", 
+function (pos, pt) {
+if (pos <= 0) {
+return true;
+}if (this.isAChar (pt.src.charAt (pos)) && this.isAChar (pt.src.charAt (pos - 1))) {
+return false;
+}return true;
+}, "~N,com.stevesoft.pat.Pthings");
+Clazz.defineMethod (c$, "matchRight", 
+function (pos, pt) {
+if (pos < 0) {
+return false;
+}if (pos + 1 >= pt.src.length ()) {
+return true;
+}if (this.isAChar (pt.src.charAt (pos)) && this.isAChar (pt.src.charAt (pos + 1))) {
+return false;
+}return true;
+}, "~N,com.stevesoft.pat.Pthings");
+Clazz.overrideMethod (c$, "matchInternal", 
+function (pos, pt) {
+if (this.matchRight (pos - 1, pt) || this.matchLeft (pos, pt)) {
+return this.nextMatch (pos, pt);
+}return -1;
+}, "~N,com.stevesoft.pat.Pthings");
+Clazz.overrideMethod (c$, "maxChars", 
+function () {
+return  new com.stevesoft.pat.patInt (0);
+});
+Clazz.overrideMethod (c$, "clone1", 
+function (h) {
+return  new com.stevesoft.pat.Boundary ();
+}, "java.util.Hashtable");
+});