Lines Matching refs:quote
4 use quote::{format_ident, quote};
24 Data::Enum(variants) if variants.is_empty() => quote!(match *self {}),
33 quote! {
47 let mut hashed_val = quote!(#var);
50 hashed_val = quote!(TokenStreamHelper(#hashed_val));
53 hashed_val = quote!(#hashed_val.to_string());
57 hashes.push(quote! {
66 cfg = Some(quote!(#[cfg(feature = "full")]));
70 quote! {
80 Some(quote! {
87 quote! {
101 let mut val = quote!(self.#ident);
104 val = quote!(TokenStreamHelper(&#val));
107 Some(quote! {
131 Data::Struct(_) if body.is_empty() => quote!(_state),
132 Data::Enum(variants) if variants.is_empty() => quote!(_state),
133 _ => quote!(state),
136 quote! {
157 quote! {