Searched refs:peek3 (Results 1 – 8 of 8) sorted by relevance
164 && !(ahead.peek3(Token![.]) || ahead.peek3(Token![?])) in parse_stmt()182 && (input.peek3(Token![move]) || input.peek3(Token![|])))) in parse_stmt()
637 pub fn peek3<T: Peek>(&self, token: T) -> bool { in peek3() method638 fn peek3(buffer: &ParseBuffer, peek: fn(Cursor) -> bool) -> bool { in peek3() function652 peek3(self, T::Token::peek) in peek3()
374 if input.peek(Token![::]) && input.peek3(Ident::peek_any) { in ambig_ty()391 || input.peek(Token![::]) && input.peek3(Token![<]) in ambig_ty()844 && (input.peek(token::Paren) || input.peek(Token![::]) && input.peek3(token::Paren)) in parse()1050 && input.peek3(Token![:]) in parse_bare_fn_arg()1051 && !input.peek3(Token![::]) in parse_bare_fn_arg()
418 || input.peek(Token![::]) && input.peek3(Token![<]) in parse_helper()622 while input.peek(Token![::]) && !input.peek3(token::Paren) { in parse_rest()
1725 && (input.peek2(token::Brace) || input.peek2(Token![move]) && input.peek3(token::Brace)) in atom_expr()1738 && (input.peek3(Lifetime) || input.peek3(Token![>])) in atom_expr()2023 && !(input.peek2(Token![<]) && (input.peek3(Lifetime) || input.peek3(Token![>]))) in expr_early()2934 } else if input.peek2(Ident) && (input.peek3(token::Paren) || input.peek3(Token![::])) { in check_cast()
587 || input.peek(Token![::]) && input.peek3(Ident::peek_any) in parse()
2429 && (input.peek3(Token![:]) in parse_impl()2430 || input.peek3(Token![,]) in parse_impl()2431 || input.peek3(Token![>]) in parse_impl()2432 || input.peek3(Token![=])) in parse_impl()
873 && (input.peek(token::Paren) || input.peek(Token![::]) && input.peek3(token::Paren)) in parse()