pub fn new_parser_from_file<'a>(
    psess: &'a ParseSess,
    path: &Path,
    sp: Option<Span>
) -> Parser<'a>
Expand description

Creates a new parser, aborting if the file doesn’t exist. If a span is given, that is used on an error as the source of the problem.