public ChangeRuleKind(ParseRule rule, Kind newKind, string name) : base(tokens => { rule.kind = newKind; return(rule.Execute(tokens)); }) { this.name = name; }
public ChangeRuleKind(ParseRule rule, Kind newKind) : base(tokens => { rule.kind = newKind; return(rule.Execute(tokens)); }) { name = rule.name; }