| 1 |
|
| 2 |
|
| 3 |
[ |
| 4 |
(method_declaration) |
| 5 |
(local_function_statement) |
| 6 |
(constructor_declaration) |
| 7 |
(destructor_declaration) |
| 8 |
(operator_declaration) |
| 9 |
(lambda_expression) |
| 10 |
(anonymous_method_expression) |
| 11 |
(block) |
| 12 |
] @local.scope |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
(parameter |
| 17 |
name: (identifier) @local.definition.variable.parameter) |
| 18 |
|
| 19 |
(variable_declarator |
| 20 |
name: (identifier) @local.definition.variable) |
| 21 |
|
| 22 |
(foreach_statement |
| 23 |
left: (identifier) @local.definition.variable) |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
(identifier) @local.reference |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
l. |
| 32 |
(member_access_expression |
| 33 |
name: (identifier) @_) |
| 34 |
|
| 35 |
|
| 36 |
(argument |
| 37 |
name: (identifier) @_) |