pub fn import_abnf(text: &str) -> Result<Grammar, GrammarImportError>Expand description
Parses Augmented Backus-Naur Form text into the grammar IR.
ยงErrors
Returns GrammarImportError when the ABNF text cannot be parsed, when a
parsed construct cannot be represented, or when a non-terminal reference
does not resolve to an imported or RFC 5234 core rule.