fn expand_macro<'cx>(
cx: &'cx mut ExtCtxt<'_>,
sp: Span,
def_span: Span,
node_id: NodeId,
name: Ident,
transparency: Transparency,
arg: TokenStream,
rules: &[MacroRule],
) -> Box<dyn MacResult + 'cx>
Expand description
Expands the rules based macro defined by rules
for a given input arg
.