X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fcom%2Fstevesoft%2Fpat%2FCustomEndpoint.js;h=800608fd387975a7e1001ea6a8b21d8c89ab86c4;hp=f5cb0ed01933fcbe31278be82282c57715fa8354;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=8ffd05b3abe52c0b6b79b011c0966361f82d5fe6 diff --git a/site/j2s/com/stevesoft/pat/CustomEndpoint.js b/site/j2s/com/stevesoft/pat/CustomEndpoint.js index f5cb0ed..800608f 100644 --- a/site/j2s/com/stevesoft/pat/CustomEndpoint.js +++ b/site/j2s/com/stevesoft/pat/CustomEndpoint.js @@ -1,27 +1,27 @@ -Clazz.declarePackage ("com.stevesoft.pat"); -Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.CustomEndpoint", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.c = null; -Clazz.instantialize (this, arguments); -}, com.stevesoft.pat, "CustomEndpoint", com.stevesoft.pat.Pattern); -Clazz.makeConstructor (c$, -function (cm) { -Clazz.superConstructor (this, com.stevesoft.pat.CustomEndpoint, []); -this.c = cm; -}, "com.stevesoft.pat.Custom"); -Clazz.overrideMethod (c$, "matchInternal", -function (pos, pt) { -var npos = this.c.v.validate (pt.src, this.c.start, pos); -if (npos >= 0) { -return this.nextMatch (npos, pt); -}return -1; -}, "~N,com.stevesoft.pat.Pthings"); -Clazz.overrideMethod (c$, "toString", -function () { -return ""; -}); -Clazz.overrideMethod (c$, "clone1", -function (h) { -return new com.stevesoft.pat.CustomEndpoint (this.c.clone (h)); -}, "java.util.Hashtable"); -}); +Clazz.declarePackage ("com.stevesoft.pat"); +Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.CustomEndpoint", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.c = null; +Clazz.instantialize (this, arguments); +}, com.stevesoft.pat, "CustomEndpoint", com.stevesoft.pat.Pattern); +Clazz.makeConstructor (c$, +function (cm) { +Clazz.superConstructor (this, com.stevesoft.pat.CustomEndpoint, []); +this.c = cm; +}, "com.stevesoft.pat.Custom"); +Clazz.overrideMethod (c$, "matchInternal", +function (pos, pt) { +var npos = this.c.v.validate (pt.src, this.c.start, pos); +if (npos >= 0) { +return this.nextMatch (npos, pt); +}return -1; +}, "~N,com.stevesoft.pat.Pthings"); +Clazz.overrideMethod (c$, "toString", +function () { +return ""; +}); +Clazz.overrideMethod (c$, "clone1", +function (h) { +return new com.stevesoft.pat.CustomEndpoint (this.c.clone (h)); +}, "java.util.Hashtable"); +});