Function enso_macro_utils::map_tokens [−][src]
pub fn map_tokens<F: Fn(TokenTree) -> TokenTree>(
input: TokenStream,
f: F
) -> TokenStream
Expand description
Maps all the tokens in the stream using a given function.
pub fn map_tokens<F: Fn(TokenTree) -> TokenTree>(
input: TokenStream,
f: F
) -> TokenStream
Maps all the tokens in the stream using a given function.