Searched refs:TokenStream (Results 1 – 5 of 5) sorted by relevance
3 use proc_macro::TokenStream;66 pub fn cast_to(args: TokenStream, input: TokenStream) -> TokenStream { in cast_to() argument134 pub fn castable_to(input: TokenStream) -> TokenStream { in castable_to() argument143 .collect::<proc_macro2::TokenStream>() in castable_to()
2 use proc_macro2::TokenStream;11 pub fn process(flags: &HashSet<Flag>, paths: Vec<Path>, input: DeriveInput) -> TokenStream { in process() argument
2 use proc_macro2::TokenStream;16 pub fn process(flags: &HashSet<Flag>, input: ItemImpl) -> TokenStream { in process() argument
3 use proc_macro2::TokenStream;11 pub fn generate_caster(ty: &impl ToTokens, trait_: &impl ToTokens, sync: bool) -> TokenStream { in generate_caster() argument
4 use proc_macro::TokenStream;43 pub fn unified_init(args: TokenStream, input: TokenStream) -> TokenStream { in unified_init() argument49 fn do_unified_init(args: TokenStream, input: TokenStream) -> syn::Result<proc_macro2::TokenStream> { in do_unified_init() argument65 let mut output = proc_macro2::TokenStream::new(); in do_unified_init()165 ) -> syn::Result<proc_macro2::TokenStream> { in generate_unified_initializer() argument