2024-08-09 19:34:08 +04:00
|
|
|
(identifier) @local.reference
|
2023-08-21 18:38:21 +04:00
|
|
|
|
|
|
|
[
|
2024-08-09 19:34:08 +04:00
|
|
|
(namespace)
|
|
|
|
(named_module)
|
|
|
|
(function_or_value_defn)
|
2023-08-21 18:38:21 +04:00
|
|
|
] @local.scope
|
|
|
|
|
2024-08-09 19:34:08 +04: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 18:38:21 +04:00
|
|
|
|
2024-08-09 19:34:08 +04: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))))))
|
|
|
|
])
|
|
|
|
))
|