Trait syntax::ext::base::IdentMacroExpander
[−]
[src]
pub trait IdentMacroExpander { fn expand<'cx>(&self,
cx: &'cx mut ExtCtxt,
sp: Span,
ident: Ident,
token_tree: Vec<TokenTree>)
-> Box<MacResult + 'cx>; }
🔬 This is a nightly-only experimental API. (
rustc_private
)Required Methods
fn expand<'cx>(&self,
cx: &'cx mut ExtCtxt,
sp: Span,
ident: Ident,
token_tree: Vec<TokenTree>)
-> Box<MacResult + 'cx>
cx: &'cx mut ExtCtxt,
sp: Span,
ident: Ident,
token_tree: Vec<TokenTree>)
-> Box<MacResult + 'cx>
🔬 This is a nightly-only experimental API. (
rustc_private
)