Lines Matching refs:Ident
8 use proc_macro2::Ident;
10 /// Additional methods for `Ident` not provided by proc-macro2 or libproc_macro.
13 /// is implemented only for `proc_macro2::Ident`.
23 /// use syn::{Error, Ident, Result, Token};
38 /// fn parse_dsl(input: ParseStream) -> Result<Ident> {
41 /// let name = input.call(Ident::parse_any)?;
48 /// `input.peek(Ident::peek_any)`
50 /// This is different from `input.peek(Ident)` which only returns true in
74 /// use syn::Ident;
77 /// fn ident_for_getter(variable: &Ident) -> Ident {
79 /// Ident::new(&getter, Span::call_site())
82 fn unraw(&self) -> Ident;
85 impl IdentExt for Ident {
93 fn unraw(&self) -> Ident {
96 Ident::new(string, self.span())
120 use proc_macro2::Ident;
124 impl Sealed for Ident {}