Struct syntax_ext::proc_macro_impl::AttrProcMacro
[−]
[src]
pub struct AttrProcMacro {
pub inner: fn(_: TsShim, _: TsShim) -> TsShim,
}🔬 This is a nightly-only experimental API. (
rustc_private)Fields
inner: fn(_: TsShim, _: TsShim) -> TsShim
🔬 This is a nightly-only experimental API. (
rustc_private)Trait Implementations
impl AttrProcMacro for AttrProcMacro[src]
fn expand<'cx>(&self,
ecx: &'cx mut ExtCtxt,
span: Span,
annotation: TokenStream,
annotated: TokenStream)
-> TokenStream
ecx: &'cx mut ExtCtxt,
span: Span,
annotation: TokenStream,
annotated: TokenStream)
-> TokenStream
🔬 This is a nightly-only experimental API. (
rustc_private)