Trait syntax::ext::base::IdentMacroExpanderUnstable [-] [+] [src]

pub trait IdentMacroExpander {
    fn expand<'cx>(&self, cx: &'cx mut ExtCtxt, sp: Span, ident: Ident, token_tree: Vec<TokenTree>) -> Box<MacResult + 'cx>;
}

Required Methods

fn expand<'cx>(&self, cx: &'cx mut ExtCtxt, sp: Span, ident: Ident, token_tree: Vec<TokenTree>) -> Box<MacResult + 'cx>

Implementors