| 1 |
|
| 2 |
|
| 3 |
[ |
| 4 |
(template_body) |
| 5 |
(function_definition) |
| 6 |
(lambda_expression) |
| 7 |
(for_expression) |
| 8 |
(block) |
| 9 |
(case_clause) |
| 10 |
] @local.scope |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
(function_definition |
| 15 |
name: (identifier) @local.definition.function) |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
(parameter |
| 20 |
name: (identifier) @local.definition.variable.parameter) |
| 21 |
(class_parameter |
| 22 |
name: (identifier) @local.definition.variable.parameter) |
| 23 |
|
| 24 |
…`. |
| 25 |
(bindings |
| 26 |
(binding |
| 27 |
name: (identifier) @local.definition.variable.parameter)) |
| 28 |
(lambda_expression |
| 29 |
parameters: (identifier) @local.definition.variable.parameter) |
| 30 |
|
| 31 |
(type_parameters |
| 32 |
name: (identifier) @local.definition.type.parameter) |
| 33 |
|
| 34 |
|
| 35 |
(val_definition |
| 36 |
pattern: (identifier) @local.definition.variable) |
| 37 |
(var_definition |
| 38 |
pattern: (identifier) @local.definition.variable) |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
(identifier) @local.reference |
| 43 |
|
| 44 |
|
| 45 |
(field_expression |
| 46 |
field: (identifier) @_) |