| 1 |
|
| 2 |
|
| 3 |
[ |
| 4 |
(method_declaration) |
| 5 |
(creation_method_declaration) |
| 6 |
(constructor_declaration) |
| 7 |
(destructor_declaration) |
| 8 |
(local_function_declaration) |
| 9 |
(lambda_expression) |
| 10 |
(block) |
| 11 |
(for_statement) |
| 12 |
(foreach_statement) |
| 13 |
] @local.scope |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
(parameter |
| 18 |
(identifier) @local.definition.variable.parameter) |
| 19 |
|
| 20 |
(lambda_expression |
| 21 |
(identifier) @local.definition.variable.parameter) |
| 22 |
|
| 23 |
e. |
| 24 |
(foreach_statement |
| 25 |
. |
| 26 |
(type) |
| 27 |
. |
| 28 |
(identifier) @local.definition.variable) |
| 29 |
|
| 30 |
n. |
| 31 |
(local_declaration |
| 32 |
(assignment |
| 33 |
. |
| 34 |
(identifier) @local.definition.variable)) |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
(identifier) @local.reference |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
(member_access_expression |
| 44 |
(_) |
| 45 |
. |
| 46 |
(identifier) @_) |