Function parse

Source
pub fn parse(origin: SourceOrigin, s: ArcStr) -> Result<Origin>
Expand description

Parse one or more toplevel module expressions

followed by (optional) whitespace and then eof. At least one expression is required otherwise this function will fail.