parse

Function parse 

Source
pub fn parse<'a, L, P, Lex, S>(
    parser: &P,
    _lexer: &Lex,
    text: &'a S,
    edits: &[TextEdit],
    cache: &'a mut impl ParseCache<L>,
) -> ParseOutput<'a, L>
where L: Language + Send + Sync + 'static, P: Parser<L>, Lex: Lexer<L>, S: Source + ?Sized,
Expand description

Standalone parsing function that coordinates lexing and parsing.

This is a convenience function for performing a complete parse (lexing + parsing) in one call.