Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / com / stevesoft / pat / StringBufferLike.js
index 2455329..fd5b6c3 100644 (file)
@@ -1,62 +1,62 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-Clazz.load (["com.stevesoft.pat.BasicStringBufferLike"], "com.stevesoft.pat.StringBufferLike", ["com.stevesoft.pat.CaseMgr"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.sbl = null;\r
-this.mode = 'E';\r
-this.altMode = ' ';\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat, "StringBufferLike", null, com.stevesoft.pat.BasicStringBufferLike);\r
-Clazz.makeConstructor (c$, \r
-function (sbl) {\r
-this.sbl = sbl;\r
-}, "com.stevesoft.pat.BasicStringBufferLike");\r
-Clazz.defineMethod (c$, "toStringLike", \r
-function () {\r
-return this.sbl.toStringLike ();\r
-});\r
-Clazz.defineMethod (c$, "toString", \r
-function () {\r
-return this.sbl.toString ();\r
-});\r
-Clazz.defineMethod (c$, "appendC", \r
-function (c) {\r
-switch (this.mode) {\r
-case 'u':\r
-this.mode = this.altMode;\r
-this.altMode = ' ';\r
-case 'U':\r
-this.sbl.appendC (com.stevesoft.pat.CaseMgr.toUpperCaseC (c));\r
-break;\r
-case 'l':\r
-this.mode = this.altMode;\r
-this.altMode = ' ';\r
-case 'L':\r
-this.sbl.appendC (com.stevesoft.pat.CaseMgr.toLowerCaseC (c));\r
-break;\r
-case 'Q':\r
-if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9')) {\r
-;} else {\r
-this.sbl.appendC ('\\');\r
-}default:\r
-this.sbl.appendC (c);\r
-break;\r
-}\r
-}, "~S");\r
-Clazz.overrideMethod (c$, "append", \r
-function (s) {\r
-for (var i = 0; i < s.length; i++) {\r
-this.appendC (s.charAt (i));\r
-}\r
-}, "~S");\r
-Clazz.defineMethod (c$, "setMode", \r
-function (c) {\r
-if (c == 'u' || c == 'l') {\r
-if (this.altMode == ' ') {\r
-this.altMode = this.mode;\r
-}}this.mode = c;\r
-}, "~S");\r
-Clazz.defineMethod (c$, "unwrap", \r
-function () {\r
-return this.sbl.unwrap ();\r
-});\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.BasicStringBufferLike"], "com.stevesoft.pat.StringBufferLike", ["com.stevesoft.pat.CaseMgr"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.sbl = null;
+this.mode = 'E';
+this.altMode = ' ';
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat, "StringBufferLike", null, com.stevesoft.pat.BasicStringBufferLike);
+Clazz.makeConstructor (c$, 
+function (sbl) {
+this.sbl = sbl;
+}, "com.stevesoft.pat.BasicStringBufferLike");
+Clazz.defineMethod (c$, "toStringLike", 
+function () {
+return this.sbl.toStringLike ();
+});
+Clazz.defineMethod (c$, "toString", 
+function () {
+return this.sbl.toString ();
+});
+Clazz.defineMethod (c$, "appendC", 
+function (c) {
+switch (this.mode) {
+case 'u':
+this.mode = this.altMode;
+this.altMode = ' ';
+case 'U':
+this.sbl.appendC (com.stevesoft.pat.CaseMgr.toUpperCaseC (c));
+break;
+case 'l':
+this.mode = this.altMode;
+this.altMode = ' ';
+case 'L':
+this.sbl.appendC (com.stevesoft.pat.CaseMgr.toLowerCaseC (c));
+break;
+case 'Q':
+if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9')) {
+;} else {
+this.sbl.appendC ('\\');
+}default:
+this.sbl.appendC (c);
+break;
+}
+}, "~S");
+Clazz.overrideMethod (c$, "append", 
+function (s) {
+for (var i = 0; i < s.length; i++) {
+this.appendC (s.charAt (i));
+}
+}, "~S");
+Clazz.defineMethod (c$, "setMode", 
+function (c) {
+if (c == 'u' || c == 'l') {
+if (this.altMode == ' ') {
+this.altMode = this.mode;
+}}this.mode = c;
+}, "~S");
+Clazz.defineMethod (c$, "unwrap", 
+function () {
+return this.sbl.unwrap ();
+});
+});