Skip to main content

parse_grammar_links

Function parse_grammar_links 

Source
pub fn parse_grammar_links(source: &str) -> Result<Grammar, GrammarImportError>
Expand description

Reads the native links form written by render_grammar_links.

ยงErrors

Returns a GrammarImportError of the meta-language format when the links are malformed, define a rule twice or no rule, or name an undefined start rule.