Function syntax::ext::tt::macro_rules::add_new_extensionExperimental [-]  [+] [src]

pub fn add_new_extension<'cx>(cx: &'cx mut ExtCtxt, sp: Span, name: Ident, arg: Vec<TokenTree>) -> Box<MacResult + 'cx>

This procedure performs the expansion of the macro_rules! macro. It parses the RHS and adds an extension to the current context.