2024-08-09 17:34:08 +02:00
|
|
|
(identifier) @local.reference
|
2023-08-21 16:38:21 +02:00
|
|
|
|
|
|
|
[
|
2024-08-09 17:34:08 +02:00
|
|
|
(namespace)
|
|
|
|
(named_module)
|
|
|
|
(function_or_value_defn)
|
2023-08-21 16:38:21 +02:00
|
|
|
] @local.scope
|
|
|
|
|
2024-08-09 17:34:08 +02:00
|
|
|
(value_declaration_left
|
|
|
|
.
|
|
|
|
[
|
|
|
|
(_ (identifier) @local.definition)
|
|
|
|
(_ (_ (identifier) @local.definition))
|
|
|
|
(_ (_ (_ (identifier) @local.definition)))
|
|
|
|
(_ (_ (_ (_ (identifier) @local.definition))))
|
|
|
|
(_ (_ (_ (_ (_ (identifier) @local.definition)))))
|
|
|
|
(_ (_ (_ (_ (_ (_ (identifier) @local.definition))))))
|
|
|
|
])
|
2023-08-21 16:38:21 +02:00
|
|
|
|
2024-08-09 17:34:08 +02:00
|
|
|
(function_declaration_left
|
|
|
|
.
|
|
|
|
((_) @local.definition)
|
|
|
|
((argument_patterns
|
|
|
|
[
|
|
|
|
(_ (identifier) @local.definition)
|
|
|
|
(_ (_ (identifier) @local.definition))
|
|
|
|
(_ (_ (_ (identifier) @local.definition)))
|
|
|
|
(_ (_ (_ (_ (identifier) @local.definition))))
|
|
|
|
(_ (_ (_ (_ (_ (identifier) @local.definition)))))
|
|
|
|
(_ (_ (_ (_ (_ (_ (identifier) @local.definition))))))
|
|
|
|
])
|
|
|
|
))
|