X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fcom%2Fstevesoft%2Fpat%2FBackRefRule.js;h=f744c088f119d3be978ce3baeab907d09ca350f8;hp=d6a1e2e9677faea59261cd5749327577278b5ecc;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/com/stevesoft/pat/BackRefRule.js b/site/j2s/com/stevesoft/pat/BackRefRule.js index d6a1e2e..f744c08 100644 --- a/site/j2s/com/stevesoft/pat/BackRefRule.js +++ b/site/j2s/com/stevesoft/pat/BackRefRule.js @@ -1,25 +1,25 @@ -Clazz.declarePackage ("com.stevesoft.pat"); -Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.BackRefRule", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.n = 0; -Clazz.instantialize (this, arguments); -}, com.stevesoft.pat, "BackRefRule", com.stevesoft.pat.ReplaceRule); -Clazz.makeConstructor (c$, -function (n) { -Clazz.superConstructor (this, com.stevesoft.pat.BackRefRule, []); -this.n = n; -}, "~N"); -Clazz.overrideMethod (c$, "apply", -function (sb, res) { -var x = res.stringMatchedI (this.n); -sb.append (x == null ? "" : x); -}, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes"); -Clazz.overrideMethod (c$, "toString1", -function () { -return "$" + this.n; -}); -Clazz.overrideMethod (c$, "clone1", -function () { -return new com.stevesoft.pat.BackRefRule (this.n); -}); -}); +Clazz.declarePackage ("com.stevesoft.pat"); +Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.BackRefRule", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.n = 0; +Clazz.instantialize (this, arguments); +}, com.stevesoft.pat, "BackRefRule", com.stevesoft.pat.ReplaceRule); +Clazz.makeConstructor (c$, +function (n) { +Clazz.superConstructor (this, com.stevesoft.pat.BackRefRule, []); +this.n = n; +}, "~N"); +Clazz.overrideMethod (c$, "apply", +function (sb, res) { +var x = res.stringMatchedI (this.n); +sb.append (x == null ? "" : x); +}, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes"); +Clazz.overrideMethod (c$, "toString1", +function () { +return "$" + this.n; +}); +Clazz.overrideMethod (c$, "clone1", +function () { +return new com.stevesoft.pat.BackRefRule (this.n); +}); +});