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