JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / bin / com / stevesoft / pat / RightRule.js
1 Clazz.declarePackage ("com.stevesoft.pat");
2 Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.RightRule", null, function () {
3 c$ = Clazz.declareType (com.stevesoft.pat, "RightRule", com.stevesoft.pat.ReplaceRule);
4 Clazz.makeConstructor (c$, 
5 function () {
6 Clazz.superConstructor (this, com.stevesoft.pat.RightRule, []);
7 });
8 Clazz.overrideMethod (c$, "apply", 
9 function (sb, res) {
10 sb.append (res.right ());
11 }, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes");
12 Clazz.overrideMethod (c$, "toString1", 
13 function () {
14 return "$'";
15 });
16 });