Lines Matching refs:Ident
10 use proc_macro2::{Delimiter, Group, Ident, Literal, Punct, Spacing, Span, TokenStream, TokenTree};
20 Ident(Ident),
40 TokenTree::Ident(ident) => entries.push(Entry::Ident(ident)),
107 // (`Ident` is a reference into a thread-local table). This is because
108 // this entry never includes a `Ident` object.
228 /// If the cursor is pointing at a `Ident`, returns it along with a cursor
230 pub fn ident(mut self) -> Option<(Ident, Cursor<'a>)> {
233 Entry::Ident(ident) => Some((ident.clone(), unsafe { self.bump_ignore_group() })),
301 Entry::Ident(ident) => (ident.clone().into(), 1),
316 Entry::Ident(ident) => ident.span(),
341 Entry::Literal(_) | Entry::Ident(_) | Entry::Punct(_) => {}
360 Entry::Ident(_) => 2,