| 1 | ; Scopes |
| 2 | ;------- |
| 3 | |
| 4 | [ |
| 5 | (let_binding) |
| 6 | (class_binding) |
| 7 | (class_function) |
| 8 | (method_definition) |
| 9 | (fun_expression) |
| 10 | (object_expression) |
| 11 | (for_expression) |
| 12 | (match_case) |
| 13 | (attribute_payload) |
| 14 | ] @local.scope |
| 15 | |
| 16 | ; Definitions |
| 17 | ;------------ |
| 18 | |
| 19 | (value_pattern) @local.definition.variable.parameter |
| 20 | |
| 21 | ; References |
| 22 | ;----------- |
| 23 | |
| 24 | (value_path . (value_name) @local.reference) |