pub fn parse_file_as_document(
fm: &SourceFile,
config: ParserConfig,
errors: &mut Vec<Error>,
) -> PResult<Document>
Expand description
Parse a given file as Document
.
If there are syntax errors but if it was recoverable, it will be appended to
errors
.