Trait syntex_syntax::ext::base::TTMacroExpander [] [src]

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

Represents a thing that maps token trees to Macro Results

Required Methods

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

Implementors