| 1 |
|
| 2 |
[ |
| 3 |
(class_declaration) |
| 4 |
(function_declaration) |
| 5 |
(lambda_literal) |
| 6 |
y. |
| 7 |
(anonymous_function) |
| 8 |
(control_structure_body) |
| 9 |
(when_entry) |
| 10 |
|
| 11 |
(for_statement) |
| 12 |
] @local.scope |
| 13 |
|
| 14 |
|
| 15 |
(type_parameter |
| 16 |
(type_identifier) @local.definition.type.parameter) |
| 17 |
|
| 18 |
(parameter |
| 19 |
(simple_identifier) @local.definition.variable.parameter) |
| 20 |
|
| 21 |
(lambda_literal |
| 22 |
(lambda_parameters |
| 23 |
(variable_declaration |
| 24 |
(simple_identifier) @local.definition.variable.parameter))) |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
(variable_declaration |
| 29 |
(simple_identifier) @local.definition.variable) |
| 30 |
|
| 31 |
|
| 32 |
(simple_identifier) @local.reference |
| 33 |
(type_identifier) @local.reference |
| 34 |
(interpolated_identifier) @local.reference |
| 35 |
|
| 36 |
|
| 37 |
(navigation_suffix |
| 38 |
(simple_identifier) @_) |