Function macro_magic_core::parse_proc_macro_variant
source ยท pub fn parse_proc_macro_variant<T: Into<TokenStream>>(
tokens: T,
macro_type: ProcMacroType,
) -> Result<ProcMacro>
Expand description
Parses a proc macro function from a TokenStream2
expecting only the specified macro_type