[][src]Function rustc_parse::new_parser_from_source_str

pub fn new_parser_from_source_str(
    sess: &ParseSess,
    name: FileName,
    source: String
) -> Parser<'_>

Creates a new parser from a source string.