Skip to main content

Module context

Module context 

Source
Expand description

All the important types given to attribute parsers when parsing

Modulesยง

early ๐Ÿ”’
late ๐Ÿ”’
private ๐Ÿ”’

Macrosยง

attribute_parsers ๐Ÿ”’

Structsยง

AcceptContext
Context given to every attribute parser when accepting
AttributeDiagnosticContext ๐Ÿ”’
Early
Used when parsing attributes for miscellaneous things before ast lowering
FinalizeContext ๐Ÿ”’
Context given to every attribute parser during finalization.
GroupTypeInner ๐Ÿ”’
GroupTypeInnerAccept ๐Ÿ”’
Late
used when parsing attributes during ast lowering
SharedContext
Context given to every attribute parser during finalization.
Suggestion ๐Ÿ”’
Represents a custom suggestion that an attribute parser can emit.

Enumsยง

OmitDoc
ShouldEmit

Traitsยง

Stage

Type Aliasesยง

AcceptFn ๐Ÿ”’
FinalizeFn ๐Ÿ”’
GroupType ๐Ÿ”’