Re-exportsยง
pub use token_type::ExpKeywordPair;
pub use token_type::ExpTokenPair;
pub use token_type::TokenType;
Modulesยง
- attr
- attr_
wrapper ๐ - 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
- Parse
NtResult - 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 ๐