Skip to main content

parse_single_grammar

Function parse_single_grammar 

Source
pub fn parse_single_grammar(
    input: &mut ParseInput<impl Iterator<Item = (Span, char)> + Clone>,
) -> Result<Rule>
Expand description

Parses a full grammar; creates a new stack and calls next_rule repeatedly until no control grammars are on the stack and the stack is not empty.