pub fn register_grammar(
registry: &mut ParserRegistry,
key: impl Into<String>,
grammar: Grammar,
) -> &mut ParserRegistryExpand description
Register grammar under key, shadowing the built-in dispatch for that key.
pub fn register_grammar(
registry: &mut ParserRegistry,
key: impl Into<String>,
grammar: Grammar,
) -> &mut ParserRegistryRegister grammar under key, shadowing the built-in dispatch for that key.