Function parse_gabc

Source
pub fn parse_gabc(text: &str, rule: Rule) -> Pairs<'_, Rule>
Expand description

Wrapper for GABCParser::parse() that prints a helpful error and exits the process if parsing fails (a friendly alternative to panicking).