Lines Matching refs:peek
607 if !input.peek(Token![<]) { in parse()
615 if input.peek(Token![>]) { in parse()
621 if lookahead.peek(Lifetime) { in parse()
626 } else if lookahead.peek(Ident) { in parse()
631 } else if lookahead.peek(Token![const]) { in parse()
636 } else if input.peek(Token![_]) { in parse()
649 if input.peek(Token![>]) { in parse()
673 if lookahead.peek(Ident) { in parse()
678 } else if lookahead.peek(Lifetime) { in parse()
683 } else if lookahead.peek(Token![const]) { in parse()
702 if input.peek(Token![:]) { in parse()
714 if input.peek(Token![,]) || input.peek(Token![>]) { in parse()
719 if !input.peek(Token![+]) { in parse()
740 while !input.peek(Token![>]) { in parse()
742 if input.peek(Token![>]) { in parse()
757 if input.peek(Token![for]) { in parse()
777 if input.peek(Token![,]) || input.peek(Token![>]) || input.peek(Token![=]) { in parse()
780 if input.peek(Token![?]) && input.peek2(Token![const]) { in parse()
787 if !input.peek(Token![+]) { in parse()
822 if input.peek(Lifetime) { in parse()
826 if input.peek(token::Paren) { in parse()
845 if path.segments.last().unwrap().arguments.is_empty() && input.peek(token::Paren) { in parse()
862 if input.peek(Token![?]) { in parse()
881 if input.peek(Token![=]) { in parse()
903 || input.peek(token::Brace) in parse()
904 || input.peek(Token![,]) in parse()
905 || input.peek(Token![;]) in parse()
906 || input.peek(Token![:]) && !input.peek(Token![::]) in parse()
907 || input.peek(Token![=]) in parse()
913 if !input.peek(Token![,]) { in parse()
928 if input.peek(Token![where]) { in parse()
939 if input.peek(Lifetime) && input.peek2(Token![:]) { in parse()
947 || input.peek(token::Brace) in parse()
948 || input.peek(Token![,]) in parse()
949 || input.peek(Token![;]) in parse()
950 || input.peek(Token![:]) in parse()
951 || input.peek(Token![=]) in parse()
957 if !input.peek(Token![+]) { in parse()
975 || input.peek(token::Brace) in parse()
976 || input.peek(Token![,]) in parse()
977 || input.peek(Token![;]) in parse()
978 || input.peek(Token![:]) && !input.peek(Token![::]) in parse()
979 || input.peek(Token![=]) in parse()
985 if !input.peek(Token![+]) { in parse()
1199 if let Some(TokenTree::Ident(c)) = iter.peek() { in to_tokens()