pub fn parse_text<'src, I>(text: &'src str) -> ParsedText<I>where
I: Parse<'src> + 'src,Expand description
Parse a .text stream, keeping spans and recovering after malformed
statements.
Accepts exactly the streams accepted by
ParsedModule::parse_section: one
statement per line, each an @name: symbol definition, an instruction, or
a symbol definition followed by an instruction. A symbol written without
its trailing : is reported as an error but still recorded, so later
checks do not report it as missing.
Line numbers in messages count from 1 at the start of text; use
parse_text_at when text is part of a larger file.