Skip to main content

earley_parse

Function earley_parse 

pub fn earley_parse<'i>(
    table: &Arc<ParseTable>,
    lexer: &'i BasicLexer,
    text: &'i str,
    start: &str,
    options: ParseOptions,
) -> Result<ParsedTree, ParseError>
Expand description

Parse text from start with the basic lexer — thin delegate to parse_with, mirroring the LALR engine’s parse. (Convenience for the basic path; the dynamic paths go through parse_with directly.)