Trait syntex_syntax::ext::base::AttrProcMacro
[−]
[src]
pub trait AttrProcMacro { fn expand<'cx>(&self, ecx: &'cx mut ExtCtxt, span: Span, annotation: TokenStream, annotated: TokenStream) -> TokenStream; }
Required Methods
fn expand<'cx>(&self, ecx: &'cx mut ExtCtxt, span: Span, annotation: TokenStream, annotated: TokenStream) -> TokenStream
Implementors
impl<F> AttrProcMacro for F where F: Fn(TokenStream, TokenStream) -> TokenStream