pub fn program_rule_names() -> &'static [&'static str]Expand description
Rule names for the program grammar (used for diagnostics).
Use with parse_error_to_miette so that “expected rule#n” shows as the rule name.
pub fn program_rule_names() -> &'static [&'static str]Rule names for the program grammar (used for diagnostics).
Use with parse_error_to_miette so that “expected rule#n” shows as the rule name.