fn split_macros(token: &Token) -> Vec<MacroComponent>
Expand description
Split a block that contains macro parameters (represented here as a Token
containing its
source script) into MacroComponent
.
Having this available will speed up macro re-parsing later.
The function is aware of comments and quoted strings and will avoid detecting macro parameters inside those.