pub fn pfunc<'a>(
stream: impl IntoIterator<Item = TokenTree>,
proc_input: bool,
names: impl AsRef<[&'a str]>,
f: impl FnMut(Ident, Group) -> TokenStream,
) -> TokenStream
Expand description
Call f
on #name(...)
#name[...]
etc, exclude Delimiter::None
Apply pfunc for (...)
when proc_input
is true