Expand description
Despite this entire module called attribute parsing and the term being a little overloaded,
in this module the code lives that actually breaks up tokenstreams into semantic pieces of attributes,
like lists or name-value pairs.
This is in essence an (improved) duplicate of rustc_ast/attr/mod.rs
.
That module is intended to be deleted in its entirety.
FIXME(jdonszelmann): delete rustc_ast/attr/mod.rs
Structs§
- Meta
Item List Parser - Meta
Item 🔒List Parser Context - Meta
Item Parser - Utility that deconstructs a MetaItem into usable parts.
- Name
Value Parser - Path
Parser
Enums§
- ArgParser
- Meta
Item OrLit Parser - Inside lists, values could be either literals, or more deeply nested meta items. This enum represents that.