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