Expand description
Implementation of the proc_macro, proc_macro_attribute
and the proc_macro_derive procedural macros, and Parse, ToTokens derive macros for parsyng.
This crate only depends on the compiler’s proc_macro, not on
parsyng-core, so that both compile in parallel: it walks just the
outline of its input (see tokens) and passes every other token through.
Attribute Macros§
- proc_
macro_ - Helper attribute to build new procedural macros. This replaces the
standard library’s
#[proc_macro]attribute. - proc_
macro_ attribute_ - Helper attribute to build new procedural macro attributes. This replaces
the standard library’s
#[proc_macro_attribute]attribute. - proc_
macro_ derive_ - Helper attribute to build new derive macros. This replaces the standard
library’s
#[proc_macro_derive]attribute.