Trait syntax::ext::base::TTMacroExpander
[−]
[src]
pub trait TTMacroExpander {
fn expand<'cx>(&self, ecx: &'cx mut ExtCtxt, span: Span, token_tree: &[TokenTree]) -> Box<MacResult + 'cx>;
}Unstable (
rustc_private)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>
Unstable (
rustc_private)