Trait rustc_expand::base::ProcMacro [−][src]
pub trait ProcMacro {
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
ts: TokenStream
) -> Result<TokenStream, ErrorReported>;
}Required methods
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
ts: TokenStream
) -> Result<TokenStream, ErrorReported>[src]Implementors
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
input: TokenStream
) -> Result<TokenStream, ErrorReported>[src]fn expand<'cx>(
&self,
_ecx: &'cx mut ExtCtxt<'_>,
_span: Span,
ts: TokenStream
) -> Result<TokenStream, ErrorReported>[src]