Function rustc_parse::source_file_to_parser
source · pub(crate) fn source_file_to_parser(
sess: &ParseSess,
source_file: Lrc<SourceFile>
) -> Parser<'_>
Expand description
Given a session and a source_file
, returns a parser.