[−][src]Trait rustc_ap_rustc_expand::base::AttrProcMacro
Required methods
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>
Implementors
impl AttrProcMacro for AttrProcMacro
[src]
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>
[src]
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>
impl<F> AttrProcMacro for F where
F: Fn(TokenStream, TokenStream) -> TokenStream,
[src]
F: Fn(TokenStream, TokenStream) -> TokenStream,
fn expand<'cx>(
&self,
_ecx: &'cx mut ExtCtxt,
_span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>
[src]
&self,
_ecx: &'cx mut ExtCtxt,
_span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>