Module rustc_ap_rustc_parse::parser[][src]

Modules

attr

Structs

AttrWrapper

A wrapper type to ensure that the parser handles outer attributes correctly. When we parse outer attributes, we need to ensure that we capture tokens for the attribute target. This allows us to perform cfg-expansion on a token stream before we invoke a derive proc-macro.

Parser

Enums

AttemptLocalParseRecovery
FollowedByType
ForceCollect

Whether or not we should force collection of tokens for an AST node, regardless of whether or not it has attributes

PathStyle

Specifies how to parse a path.

TrailingToken

Functions

emit_unclosed_delims