| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
[ |
| 5 |
(function_body) |
| 6 |
(function_expression_body) |
| 7 |
(block) |
| 8 |
(for_statement) |
| 9 |
(try_statement) |
| 10 |
(catch_clause) |
| 11 |
(finally_clause) |
| 12 |
] @local.scope |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
(formal_parameter |
| 18 |
name: (identifier) @local.definition.variable.parameter) |
| 19 |
|
| 20 |
|
| 21 |
(for_loop_parts |
| 22 |
name: (identifier) @local.definition.variable) |
| 23 |
|
| 24 |
(initialized_variable_definition |
| 25 |
name: (identifier) @local.definition.variable) |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
(identifier) @local.reference |
| 31 |
|
| 32 |
|
| 33 |
(unconditional_assignable_selector |
| 34 |
(identifier) @_) |
| 35 |
(conditional_assignable_selector |
| 36 |
(identifier) @_) |