ruff
b04cb9f9 - Add `ExpressionContext` for expression parsing

Commit
1 year ago
Add `ExpressionContext` for expression parsing This commit adds a new `ExpressionContext` struct which is used in expression parsing. This solves the following problem: 1. Allowing starred expression with different precedence 2. Allowing yield expression in certain context 3. Remove ambiguity with `in` keyword when parsing a `for ... in` statement
Author
Committer
Parents
Loading