Expand description
§macro_find_and_replace
This crate provides macros to find-and-replace tokens.
For more information about tokens in general and what counts as a single token, see the TokenStream type in the proc_macro
crate, which is the input and output type of procedural macros.
Macros§
- replace_
token - Replaces all occurences of a given single token with another single token.
- replace_
token_ sequence - Replaces all occurences of a given sequence of tokens with another sequence of tokens.