Function parse_interactive
pub fn parse_interactive<'p>(
job: ParseJob<'p, '_>,
) -> Result<InteractiveParser<'p>, ParseError>Expand description
Begin an interactive parse (Lark’s parse_interactive):
returns immediately with an interactive::InteractiveParser holding the
start state and a lazy lexer cursor over text; nothing is lexed until the
caller drives it (exhaust_lexer/resume_parse/manual feeds). The returned
parser borrows lexer and text for 'p. postlex, when present, is
started once (its session interposes between lexer and parser, buffering the
fan-out); a non-clonable session is dropped on copy().