Home
last modified time | relevance | path

Searched defs:TokenStream (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/crates/unified-init/macros/src/
H A Dlib.rs43 pub fn unified_init(args: TokenStream, input: TokenStream) -> TokenStream { in unified_init()
49 fn do_unified_init(args: TokenStream, input: TokenStream) -> syn::Result<proc_macro2::TokenStream> { in do_unified_init()
165 ) -> syn::Result<proc_macro2::TokenStream> { in generate_unified_initializer()
/DragonOS/kernel/crates/intertrait/macros/src/
H A Dlib.rs65 pub fn cast_to(args: TokenStream, input: TokenStream) -> TokenStream { in cast_to()
133 pub fn castable_to(input: TokenStream) -> TokenStream { in castable_to()
H A Ditem_type.rs11 pub fn process(flags: &HashSet<Flag>, paths: Vec<Path>, input: DeriveInput) -> TokenStream { in process()
H A Ditem_impl.rs16 pub fn process(flags: &HashSet<Flag>, input: ItemImpl) -> TokenStream { in process()
H A Dgen_caster.rs11 pub fn generate_caster(ty: &impl ToTokens, trait_: &impl ToTokens, sync: bool) -> TokenStream { in generate_caster()