Skip to main content

display_name

Function display_name 

Source
pub fn display_name(
    grammar_json: &str,
    name: &str,
) -> Result<String, GrammarError>
Expand description

The readable display name for a top-level rule. Errors if the grammar is unparseable or name is not a top-level rule.