Semantic tokens: consistently add the DEFINITION modifier by lucach · Pull Request #21521 · astral-sh/ruff (original) (raw)

MichaReiser

@lucach

There are a few more statements potentially containing definitions than what is currently covered. This commit reviews all the statements and completes the list of those requiring a custom visitor to add the DEFINITION modifier for the appropriate tokens.

dcreager added a commit that referenced this pull request

Nov 19, 2025

@dcreager

dcreager added a commit that referenced this pull request

Nov 19, 2025

@dcreager

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})