1 Clazz.declarePackage ("com.stevesoft.pat");
\r
2 Clazz.load (["com.stevesoft.pat.SpecialRule"], "com.stevesoft.pat.ChangeRule", null, function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
5 Clazz.instantialize (this, arguments);
\r
6 }, com.stevesoft.pat, "ChangeRule", com.stevesoft.pat.SpecialRule);
\r
7 Clazz.makeConstructor (c$,
\r
9 Clazz.superConstructor (this, com.stevesoft.pat.ChangeRule, []);
\r
10 this.NewRule = c.NewRule;
\r
11 }, "com.stevesoft.pat.ChangeRule");
\r
12 Clazz.makeConstructor (c$,
\r
14 Clazz.superConstructor (this, com.stevesoft.pat.ChangeRule, []);
\r
17 }, "~S,com.stevesoft.pat.Regex");
\r
18 Clazz.makeConstructor (c$,
\r
20 Clazz.superConstructor (this, com.stevesoft.pat.ChangeRule, []);
\r
22 this.NewRule = tr.rp;
\r
23 }, "~S,com.stevesoft.pat.Transformer");
\r
24 Clazz.overrideMethod (c$, "clone1",
\r
26 return new com.stevesoft.pat.ChangeRule (this);
\r
28 Clazz.overrideMethod (c$, "toString1",
\r
30 return "${=" + this.name + "}";
\r
32 Clazz.overrideMethod (c$, "apply",
\r
34 }, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes");
\r