Example #1
0
        public override Rule Clone()
        {
            var result = new NamedRule(this, Super, Name, Rule.Clone());

            result.AttachAction(Action);
            return(result);
        }
Example #2
0
 public override Rule Clone() => new RepeatRule(this, Rule.Clone());
Example #3
0
 public override Rule Clone() => new NotRule(this, Rule.Clone());
Example #4
0
 public override Rule Clone() => new OptionalRule(this, Rule.Clone());