| 1 |
|
| 2 |
|
| 3 |
[ |
| 4 |
(block) |
| 5 |
(defined_resource_type) |
| 6 |
(function_declaration) |
| 7 |
(attribute_type_entry) |
| 8 |
(class_definition) |
| 9 |
(node_definition) |
| 10 |
(resource_declaration) |
| 11 |
(selector) |
| 12 |
(iterator_statement) |
| 13 |
(case_statement) |
| 14 |
(hash) |
| 15 |
(array) |
| 16 |
] @local.scope |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
(parameter (variable (identifier) @local.definition.variable.parameter)) |
| 26 |
|
| 27 |
(assignment . (variable (identifier) @local.definition.variable)) |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
(identifier) @local.reference |
| 32 |
|
| 33 |
|
| 34 |
(attribute name: (identifier) @_) |