Skip to main content

next_rule

Function next_rule 

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

Parses the next rule, modifying the stack accordingly. Returns whether or not rule parsing should continue.