Re-exportsΒ§
pub use token_type::ExpKeywordPair;
pub use token_type::ExpTokenPair;
pub use token_type::TokenType;
ModulesΒ§
- asm
- attr
- attr_
wrapper π - cfg_
select - diagnostics π
- expr π
- generics π
- item π
- nonterminal π
- pat π
- path π
- stmt π
- token_
type - ty π
StructsΒ§
- Capture
State π - Closure
Spans π - Stores span information about a closure.
- Parser
- Restrictions π
- Restrictions applied while parsing.
- SeqSep π
- A sequence separator.
EnumsΒ§
- Attempt
Local Parse Recovery - Block
Mode π - Capturing π
- Controls how we capture tokens. Capturing can be expensive,
so we try to avoid performing capturing in cases where
we will never need an
AttrTokenStream
. - Comma
Recovery Mode - Whether or not to recover a
a, b
when parsing patterns as(a, b)
or that anda | b
. - Followed
ByType - Force
Collect - Whether or not we should force collection of tokens for an AST node, regardless of whether or not it has attributes
- LetChains
Policy - Whether let chains are allowed on all editions, or itβs edition dependent (allowed only on 2024 and later). In case of edition dependence, specify the currently present edition.
- Parse
NtResult - Path
Style - Specifies how to parse a path.
- Recover
Colon - Whether or not to recover a
:
when parsing patterns that were meant to be paths. - Recover
Comma - Whether or not to recover a
,
when parsing or-patterns. - Recovery
- Semi
Colon πMode - Token
Description π - Trailing