Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str, names: &mut Interner) -> Result<Module, ParseError>
Expand description

Reads a module from the text the printer writes.

Names are interned into names, which is the same interner the printer will be given when the module is written back out.

ยงErrors

Gives back the first thing in the text that does not add up, with the line it is on.