[][src]Trait rustc_ap_rustc_expand::base::AttrProcMacro

pub trait AttrProcMacro {
    fn expand<'cx>(
        &self,
        ecx: &'cx mut ExtCtxt,
        span: Span,
        annotation: TokenStream,
        annotated: TokenStream
    ) -> Result<TokenStream, ErrorReported>; }

Required methods

fn expand<'cx>(
    &self,
    ecx: &'cx mut ExtCtxt,
    span: Span,
    annotation: TokenStream,
    annotated: TokenStream
) -> Result<TokenStream, ErrorReported>

Loading content...

Implementors

impl AttrProcMacro for AttrProcMacro[src]

impl<F> AttrProcMacro for F where
    F: Fn(TokenStream, TokenStream) -> TokenStream
[src]

Loading content...