Searched refs:PResult (Results 1 – 2 of 2) sorted by relevance
64 type PResult<'a, O> = Result<(Cursor<'a>, O), Reject>; typedef114 fn block_comment(input: Cursor) -> PResult<&str> { in block_comment()251 fn leaf_token(input: Cursor) -> PResult<TokenTree> { in leaf_token()264 fn ident(input: Cursor) -> PResult<crate::Ident> { in ident()275 fn ident_any(input: Cursor) -> PResult<crate::Ident> { in ident_any()295 fn ident_not_raw(input: Cursor) -> PResult<&str> { in ident_not_raw()314 pub(crate) fn literal(input: Cursor) -> PResult<Literal> { in literal()756 fn punct(input: Cursor) -> PResult<Punct> { in punct()773 fn punct_char(input: Cursor) -> PResult<char> { in punct_char()794 fn doc_comment<'a>(input: Cursor<'a>, trees: &mut TokenStreamBuilder) -> PResult<'a, ()> { in doc_comment()[all …]
25 use rustc_errors::{translation, Diagnostic, PResult};154 fn librustc_parse(content: String, sess: &ParseSess) -> PResult<Crate> { in librustc_parse()