Struct syntax::ext::base::BasicMacroExpander[src]

pub struct BasicMacroExpander {
    pub expander: MacroExpanderFn,
    pub span: Option<Span>,
}

Fields

expander
span

Trait Implementations

impl MacroExpander for BasicMacroExpander

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