X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fcom%2Fstevesoft%2Fpat%2FBackup.js;h=3063b71bed0f2e05260499bc857e94b690607c82;hp=f155142ad15e0d64a76a20d8677b6fd076c076f3;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=8ffd05b3abe52c0b6b79b011c0966361f82d5fe6 diff --git a/site/j2s/com/stevesoft/pat/Backup.js b/site/j2s/com/stevesoft/pat/Backup.js index f155142..3063b71 100644 --- a/site/j2s/com/stevesoft/pat/Backup.js +++ b/site/j2s/com/stevesoft/pat/Backup.js @@ -1,34 +1,34 @@ -Clazz.declarePackage ("com.stevesoft.pat"); -Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Backup", ["com.stevesoft.pat.patInt"], function () { -c$ = Clazz.decorateAsClass (function () { -this.bk = 0; -Clazz.instantialize (this, arguments); -}, com.stevesoft.pat, "Backup", com.stevesoft.pat.Pattern); -Clazz.makeConstructor (c$, -function (ii) { -Clazz.superConstructor (this, com.stevesoft.pat.Backup, []); -this.bk = ii; -}, "~N"); -Clazz.overrideMethod (c$, "toString", -function () { -return "(?" + (this.bk < 0 ? ">" + (-this.bk) : "<" + this.bk) + ")" + this.nextString (); -}); -Clazz.overrideMethod (c$, "matchInternal", -function (pos, pt) { -if (pos < this.bk) { -return -1; -}return this.nextMatch (pos - this.bk, pt); -}, "~N,com.stevesoft.pat.Pthings"); -Clazz.overrideMethod (c$, "minChars", -function () { -return new com.stevesoft.pat.patInt (-this.bk); -}); -Clazz.overrideMethod (c$, "maxChars", -function () { -return new com.stevesoft.pat.patInt (-this.bk); -}); -Clazz.overrideMethod (c$, "clone1", -function (h) { -return new com.stevesoft.pat.Backup (this.bk); -}, "java.util.Hashtable"); -}); +Clazz.declarePackage ("com.stevesoft.pat"); +Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Backup", ["com.stevesoft.pat.patInt"], function () { +c$ = Clazz.decorateAsClass (function () { +this.bk = 0; +Clazz.instantialize (this, arguments); +}, com.stevesoft.pat, "Backup", com.stevesoft.pat.Pattern); +Clazz.makeConstructor (c$, +function (ii) { +Clazz.superConstructor (this, com.stevesoft.pat.Backup, []); +this.bk = ii; +}, "~N"); +Clazz.overrideMethod (c$, "toString", +function () { +return "(?" + (this.bk < 0 ? ">" + (-this.bk) : "<" + this.bk) + ")" + this.nextString (); +}); +Clazz.overrideMethod (c$, "matchInternal", +function (pos, pt) { +if (pos < this.bk) { +return -1; +}return this.nextMatch (pos - this.bk, pt); +}, "~N,com.stevesoft.pat.Pthings"); +Clazz.overrideMethod (c$, "minChars", +function () { +return new com.stevesoft.pat.patInt (-this.bk); +}); +Clazz.overrideMethod (c$, "maxChars", +function () { +return new com.stevesoft.pat.patInt (-this.bk); +}); +Clazz.overrideMethod (c$, "clone1", +function (h) { +return new com.stevesoft.pat.Backup (this.bk); +}, "java.util.Hashtable"); +});