[][src]Function rustc_parse::source_file_to_parser

pub(crate) fn source_file_to_parser(
    sess: &ParseSess,
    source_file: Lrc<SourceFile>
) -> Parser<'_>

Given a source_file and config, returns a parser.