1 Clazz.declarePackage ("com.stevesoft.pat");
\r
2 Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.RuleHolder", null, function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
5 Clazz.instantialize (this, arguments);
\r
6 }, com.stevesoft.pat, "RuleHolder", com.stevesoft.pat.ReplaceRule);
\r
7 Clazz.makeConstructor (c$,
\r
9 Clazz.superConstructor (this, com.stevesoft.pat.RuleHolder, []);
\r
11 Clazz.makeConstructor (c$,
\r
13 Clazz.superConstructor (this, com.stevesoft.pat.RuleHolder, []);
\r
15 }, "com.stevesoft.pat.ReplaceRule");
\r
16 Clazz.overrideMethod (c$, "clone1",
\r
18 return new com.stevesoft.pat.RuleHolder (this.held);
\r
20 Clazz.defineMethod (c$, "toString1",
\r
22 return this.held.toString1 ();
\r
24 Clazz.defineMethod (c$, "apply",
\r
26 this.held.apply (sb, rr);
\r
27 }, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes");
\r
28 Clazz.defineMethod (c$, "arg",
\r
30 return new com.stevesoft.pat.RuleHolder (this.held.arg (s));
\r