JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / bin / com / stevesoft / pat / RightRule.js
1 Clazz.declarePackage ("com.stevesoft.pat");\r
2 Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.RightRule", null, function () {\r
3 c$ = Clazz.declareType (com.stevesoft.pat, "RightRule", com.stevesoft.pat.ReplaceRule);\r
4 Clazz.makeConstructor (c$, \r
5 function () {\r
6 Clazz.superConstructor (this, com.stevesoft.pat.RightRule, []);\r
7 });\r
8 Clazz.overrideMethod (c$, "apply", \r
9 function (sb, res) {\r
10 sb.append (res.right ());\r
11 }, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes");\r
12 Clazz.overrideMethod (c$, "toString1", \r
13 function () {\r
14 return "$'";\r
15 });\r
16 });\r