Expand description
Proc macro helpers for procedural macros
Modules§
- syn_ext
- Extension to syn types, mainly for parsing
Functions§
- clean_
type_ string - generate_
access_ from_ frame_ or_ crate - Generate the crate access for the crate using 2018 syntax.
- generate_
crate_ access - Generates the access to the
frame-support
crate. - generate_
hidden_ includes - Generates the hidden includes that are required to make the macro independent from its scope.
- get_
cfg_ attributes - Return all cfg attributes literals found.
- get_
doc_ literals - Return all doc attributes literals found.
- is_
using_ frame_ crate - Check if a path is using the
frame
crate or not.