Open
Description
- Function and method definitions using
def
. (Requested in Definitions should have an enclosing range #86, fixed by #86 - Adds enclosing ranges to function and class definitions #132) - Class definitions. (Requested in Definitions should have an enclosing range #86, fixed by #86 - Adds enclosing ranges to function and class definitions #132)
- Expressions
- Literal expressions
- Method call expressions
- Operator call expressions
- Slice and indexing expressions (
a[x]
,a[x:y]
,a[x:y:z]
) - Lambda expressions
- Variable assignments with
=
and:=
- Comprehension expressions (list and dictionaries)
- Keyword expressions (
yield e
,await e
,del e
,except e
etc.)
Feel free to edit the issue description to mention other kinds of expressions.
For expressions, it might make sense to emit those behind a feature flag than by default, to avoid slowing down the indexer in the common case.