Module parser

Source

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ยง

CaptureState ๐Ÿ”’
ClosureSpans ๐Ÿ”’
Stores span information about a closure.
Parser
Restrictions ๐Ÿ”’
Restrictions applied while parsing.
SeqSep ๐Ÿ”’
A sequence separator.

Enumsยง

AttemptLocalParseRecovery
BlockMode ๐Ÿ”’
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.
CommaRecoveryMode
Whether or not to recover a a, b when parsing patterns as (a, b) or that and a | b.
FollowedByType
ForceCollect
Whether or not we should force collection of tokens for an AST node, regardless of whether or not it has attributes
ParseNtResult
RecoverColon
Whether or not to recover a : when parsing patterns that were meant to be paths.
RecoverComma
Whether or not to recover a , when parsing or-patterns.
Recovery
SemiColonMode ๐Ÿ”’
TokenDescription ๐Ÿ”’
Trailing ๐Ÿ”’

Functionsยง

token_descr