parse_one_pass

Function parse_one_pass 

Source
pub fn parse_one_pass<'a, L, P, S>(
    parser: &P,
    text: &'a S,
    cache: &'a mut impl ParseCache<L>,
) -> ParseOutput<'a, L>
where L: Language + Send + Sync + 'static, P: Parser<L>, S: Source + ?Sized,
Expand description

Standalone parsing function that performs a complete parse without incremental reuse.

This is a convenience function for parsing a source from scratch.