Searched refs:PResult (Results 1 – 2 of 2) sorted by relevance
75 type PResult<'a, O> = Result<(Cursor<'a>, O), Reject>; typedef125 fn block_comment(input: Cursor) -> PResult<&str> { in block_comment()266 fn leaf_token(input: Cursor) -> PResult<TokenTree> { in leaf_token()283 fn ident(input: Cursor) -> PResult<crate::Ident> { in ident()296 fn ident_any(input: Cursor) -> PResult<crate::Ident> { in ident_any()322 fn ident_not_raw(input: Cursor) -> PResult<&str> { in ident_not_raw()341 pub(crate) fn literal(input: Cursor) -> PResult<Literal> { in literal()478 fn delimiter_of_raw_string(input: Cursor) -> PResult<&str> { in delimiter_of_raw_string()875 fn punct(input: Cursor) -> PResult<Punct> { in punct()892 fn punct_char(input: Cursor) -> PResult<char> { in punct_char()[all …]
33 use rustc_errors::{translation, Diagnostic, PResult};152 fn librustc_parse(content: String, sess: &ParseSess) -> PResult<Crate> { in librustc_parse()