| 1 |
(identifier) @local.reference |
| 2 |
|
| 3 |
[ |
| 4 |
(namespace) |
| 5 |
(named_module) |
| 6 |
(function_or_value_defn) |
| 7 |
(fun_expression) |
| 8 |
(for_expression) |
| 9 |
(match_expression) |
| 10 |
(rule) |
| 11 |
] @local.scope |
| 12 |
|
| 13 |
(function_declaration_left |
| 14 |
. |
| 15 |
((_) @local.definition.function)) |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
(argument_patterns |
| 22 |
[ |
| 23 |
(_ (identifier) @local.definition.variable.parameter) |
| 24 |
(_ (_ (identifier) @local.definition.variable.parameter)) |
| 25 |
(_ (_ (_ (identifier) @local.definition.variable.parameter))) |
| 26 |
(_ (_ (_ (_ (identifier) @local.definition.variable.parameter)))) |
| 27 |
(_ (_ (_ (_ (_ (identifier) @local.definition.variable.parameter))))) |
| 28 |
(_ (_ (_ (_ (_ (_ (identifier) @local.definition.variable.parameter)))))) |
| 29 |
]) |
| 30 |
|
| 31 |
|
| 32 |
(for_expression |
| 33 |
(identifier) @local.definition.variable) |
| 34 |
|
| 35 |
|
| 36 |
(dot_expression |
| 37 |
field: (long_identifier_or_op (identifier) @_)) |
| 38 |
(dot_expression |
| 39 |
field: (long_identifier_or_op (long_identifier (identifier) @_))) |