pub fn map_tokens<F: Fn(TokenTree) -> TokenTree>(
input: TokenStream,
f: F,
) -> TokenStreamExpand description
Maps all the tokens in the stream using a given function.
pub fn map_tokens<F: Fn(TokenTree) -> TokenTree>(
input: TokenStream,
f: F,
) -> TokenStreamMaps all the tokens in the stream using a given function.