public Grouping(RuleBody ruleBody) { RuleBody = ruleBody; }
public Optional(RuleBody ruleBody) { RuleBody = ruleBody; }
public Repetition(RuleBody ruleBody) { RuleBody = ruleBody; }
public Rule(Name name, RuleBody ruleBody) { Name = name; RuleBody = ruleBody; }
Rule IParsnipRuleFactory.Rule1(RuleHead t0, RuleBody t1) => new Rule(t0, t1);