Expand description
All the parsers require roughly the same imports, so this prelude has most of the often-needed ones.
ModulesΒ§
- sym π
- This module contains all the defined non-keyword
Symbols.
MacrosΒ§
- template π
- A convenience macro for constructing attribute templates.
E.g.,
template!(Word, List: "description")means that the attribute supports forms#[attr]and#[attr(description)].
StructsΒ§
- Attribute
Template π - A template that the attribute input must match.
Only top-level shape (
#[attr]vs#[attr(...)]vs#[attr = ...]) is considered now. - Ident π
- Span π
- A compressed span.
- Symbol π
- An interned UTF-8 string.
- ThinVec π
- See the crateβs top level documentation for a description of this type.
EnumsΒ§
- Attribute
Kind π - Represents parsed built-in inert attributes.
- Attribute
Lint πKind - Method
Kind π - Target π
ConstantsΒ§
- DUMMY_
SP π - The dummy span has zero position, length, and context, and no parent.