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