Lines Matching refs:Ident
5 use crate::ident::Ident;
74 pub ident: Ident,
88 pub ident: Ident,
387 impl From<Ident> for TypeParam {
388 fn from(ident: Ident) -> Self { in from()
459 Ident(Ident),
530 use crate::ident::Ident;
561 } else if lookahead.peek(Ident) { in parse()
574 ident: input.call(Ident::parse_any)?, in parse()
608 if lookahead.peek(Ident) { in parse()
704 let ident: Ident = input.parse()?; in parse()
811 if !(input.peek(Ident::peek_any) in parse_multiple()
1056 if lookahead.peek(Lifetime) || lookahead.peek(Ident) || input.peek(Token![Self]) in parse()
1091 } else if lookahead.peek(Ident) || input.peek(Token![Self]) { in parse()
1092 input.call(Ident::parse_any).map(CapturedParam::Ident) in parse()
1125 || (input.peek2(Lifetime) || input.peek2(Ident)) in choose_generics_over_qpath()
1136 input.call(Ident::parse_any).unwrap(); // `impl` or `for` or `where` in choose_generics_over_qpath_after_keyword()
1426 if let CapturedParam::Ident(_) = **param.value() { in to_tokens()
1445 CapturedParam::Ident(ident) => ident.to_tokens(tokens), in to_tokens()