Trait syntax::ext::base::MacroExpander[src]

pub trait MacroExpander {
    fn expand(&self, ecx: &mut ExtCtxt, span: Span, token_tree: &[TokenTree]) -> Box<MacResult>;
}

Required Methods

fn expand(&self, ecx: &mut ExtCtxt, span: Span, token_tree: &[TokenTree]) -> Box<MacResult>

Implementors