Module rustc_parse::parser::expr
source · Macros§
- Possibly accepts an
token::Interpolatedexpression (a pre-parsed expression dropped into the token stream, which happens while parsing the result of macro expansion). Placement of these is not as complex as I feared it would be. The important thing is to make sure that lookahead doesn’t balk attoken::Interpolatedtokens.
Structs§
- Visitor to check for invalid/unstable use of
ExprKind::Letthat can’t easily be caught in parsing. For example:
Enums§
- Used to forbid
letexpressions in certain syntactic locations. - LhsExpr 🔒
Functions§
- Could this lifetime/label be an unclosed char literal? For example,
'acould be, but'abccould not.