Modulesยง
Macrosยง
- attribute_
parsers ๐
Structsยง
- Accept
Context - Context given to every attribute parser when accepting
- Attribute
Parser - Context created once, for example as part of the ast lowering context, through which all attributes can be lowered.
- Early
- used when parsing attributes for miscellaneous things before ast lowering
- Finalize
Context ๐ - Context given to every attribute parser during finalization.
- Group
Type ๐Inner - Group
Type ๐Inner Accept - Late
- used when parsing attributes during ast lowering
- Shared
Context - Context given to every attribute parser during finalization.
Enumsยง
- Allowed
Result ๐ - Allowed
Targets ๐ - Maybe
Warn ๐ - OmitDoc
- Should
Emit
Constantsยง
- ALL_
TARGETS ๐ - This is the list of all targets to which a attribute can be applied This is used for:
Traitsยง
Functionsยง
- allowed_
targets_ ๐applied - Takes a list of
allowed_targetsfor an attribute, and thetargetthe attribute was applied to. Does some heuristic-based filtering to remove uninteresting targets, and formats the targets into a string - filter_
targets ๐ - parse_
single_ ๐integer - Parse a single integer.
Type Aliasesยง
- Accept
Fn ๐ - Finalize
Fn ๐ - Group
Type ๐