Trait rustc_expand::base::TTMacroExpander

source ·
pub trait TTMacroExpander {
    // Required method
    fn expand<'cx>(
        &self,
        ecx: &'cx mut ExtCtxt<'_>,
        span: Span,
        input: TokenStream,
    ) -> MacroExpanderResult<'cx>;
}
Expand description

Represents a thing that maps token trees to Macro Results

Required Methods§

source

fn expand<'cx>( &self, ecx: &'cx mut ExtCtxt<'_>, span: Span, input: TokenStream, ) -> MacroExpanderResult<'cx>

Implementors§