Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 7 of 7) sorted by relevance

/rust/macros/
A Dlib.rs102 pub fn module(ts: TokenStream) -> TokenStream { in module()
103 module::module(ts) in module()
177 pub fn vtable(attr: TokenStream, ts: TokenStream) -> TokenStream { in vtable()
178 vtable::vtable(attr, ts) in vtable()
200 pub fn export(attr: TokenStream, ts: TokenStream) -> TokenStream { in export()
201 export::export(attr, ts) in export()
258 pub fn concat_idents(ts: TokenStream) -> TokenStream { in concat_idents()
259 concat_idents::concat_idents(ts) in concat_idents()
425 pub fn kunit_tests(attr: TokenStream, ts: TokenStream) -> TokenStream { in kunit_tests()
426 kunit::kunit_tests(attr, ts) in kunit_tests()
A Dexport.rs7 pub(crate) fn export(_attr: TokenStream, ts: TokenStream) -> TokenStream { in export()
8 let Some(name) = function_name(ts.clone()) else { in export()
28 TokenStream::from_iter([signature_check, no_mangle, ts]) in export()
A Dconcat_idents.rs15 pub(crate) fn concat_idents(ts: TokenStream) -> TokenStream { in concat_idents()
16 let mut it = ts.into_iter(); in concat_idents()
A Dquote.rs61 let mut ts = ::proc_macro::TokenStream::new(); variables
62 $crate::quote::ToTokens::to_tokens(&$id, &mut ts);
63 $v.extend(ts);
68 let mut ts = ::proc_macro::TokenStream::new(); variables
69 $crate::quote::ToTokens::to_tokens(&token, &mut ts);
70 $v.extend(ts);
A Dvtable.rs7 pub(crate) fn vtable(_attr: TokenStream, ts: TokenStream) -> TokenStream { in vtable()
8 let mut tokens: Vec<_> = ts.into_iter().collect(); in vtable()
A Dkunit.rs10 pub(crate) fn kunit_tests(attr: TokenStream, ts: TokenStream) -> TokenStream { in kunit_tests()
21 let mut tokens: Vec<_> = ts.into_iter().collect(); in kunit_tests()
A Dmodule.rs171 pub(crate) fn module(ts: TokenStream) -> TokenStream { in module()
172 let mut it = ts.into_iter(); in module()

Completed in 9 milliseconds