1 Clazz.declarePackage ("com.stevesoft.pat");
2 Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.BackRefRule", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, com.stevesoft.pat, "BackRefRule", com.stevesoft.pat.ReplaceRule);
7 Clazz.makeConstructor (c$,
9 Clazz.superConstructor (this, com.stevesoft.pat.BackRefRule, []);
12 Clazz.overrideMethod (c$, "apply",
14 var x = res.stringMatchedI (this.n);
15 sb.append (x == null ? "" : x);
16 }, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes");
17 Clazz.overrideMethod (c$, "toString1",
21 Clazz.overrideMethod (c$, "clone1",
23 return new com.stevesoft.pat.BackRefRule (this.n);