Home
last modified time | relevance | path

Searched refs:peek3 (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/syn/src/
Dstmt.rs164 && !(ahead.peek3(Token![.]) || ahead.peek3(Token![?])) in parse_stmt()
182 && (input.peek3(Token![move]) || input.peek3(Token![|])))) in parse_stmt()
Dparse.rs637 pub fn peek3<T: Peek>(&self, token: T) -> bool { in peek3() method
638 fn peek3(buffer: &ParseBuffer, peek: fn(Cursor) -> bool) -> bool { in peek3() function
652 peek3(self, T::Token::peek) in peek3()
Dty.rs374 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()
Dpath.rs418 || input.peek(Token![::]) && input.peek3(Token![<]) in parse_helper()
622 while input.peek(Token![::]) && !input.peek3(token::Paren) { in parse_rest()
Dexpr.rs1725 && (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()
Dattr.rs587 || input.peek(Token![::]) && input.peek3(Ident::peek_any) in parse()
Ditem.rs2429 && (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()
Dgenerics.rs873 && (input.peek(token::Paren) || input.peek(Token![::]) && input.peek3(token::Paren)) in parse()