pub fn parse(source: &str) -> Result<ElmModule, Vec<ParseError>>Expand description
Parse an Elm source string into an ElmModule.
Returns Err if the module header or imports fail to parse.
For declaration-level errors, use parse_recovering instead to
get a partial AST along with the errors.