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