pub fn consume_rules( pairs: Pairs<'_, Rule>, ) -> Result<Vec<Rule>, Vec<Error<Rule>>>
Converts a parser’s result (Pairs) to an AST
Pairs