[][src]Function rustc_ap_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.