mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-25 19:58:32 +08:00
Carry the typed IDs returned by node constructors through parsing and recovery. Parse source-ordered argument and parameter lists directly. Keep ownership of the tree with the parsed module. Record the full range of each dictionary entry, including the stars in an unpacking and parentheses around the value. When recovering a dictionary from a mapping pattern, include the stars in the range of an unpacked entry.