Skip to main content

program_rule_names

Function program_rule_names 

Source
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.