Lines Matching refs:ident
13 let ident = Ident::new(ty, Span::call_site()); in rust_type() localVariable
14 quote!(syn::#ident) in rust_type()
17 let ident = Ident::new(ty, Span::call_site()); in rust_type() localVariable
18 quote!(#ident) in rust_type()
21 let ident = Ident::new(ty, Span::call_site()); in rust_type() localVariable
22 quote!(proc_macro2::#ident) in rust_type()
25 let ident = Ident::new(ty, Span::call_site()); in rust_type() localVariable
26 quote!(syn::token::#ident) in rust_type()
132 let ident = Ident::new(&node.ident, Span::call_site()); in expand_impl_body() localVariable
140 syn::#ident::#variant => formatter.write_str(#v), in expand_impl_body()
146 syn::#ident::#variant(_val) => { in expand_impl_body()
169 syn::#ident::#variant(_val) => { in expand_impl_body()
186 syn::#ident::#variant(#(#pats),*) => { in expand_impl_body()
208 let ident = Ident::new(f, Span::call_site()); in expand_impl_body() localVariable
221 if let Some(val) = &_val.#ident { in expand_impl_body()
236 let val = quote!(&_val.#ident); in expand_impl_body()
243 if !_val.#ident.is_empty() { in expand_impl_body()
258 if node.ident == "LitInt" || node.ident == "LitFloat" { in expand_impl_body()
272 if node.ident == "Reserved" { in expand_impl()
276 let ident = Ident::new(&node.ident, Span::call_site()); in expand_impl() localVariable
277 let body = expand_impl_body(defs, node, &node.ident); in expand_impl()
280 impl Debug for Lite<syn::#ident> { in expand_impl()