Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(identifier) @local.reference

[
  (namespace)
  (named_module)
  (function_or_value_defn)
] @local.scope

(value_declaration_left
  .
  [
   (_ (identifier) @local.definition)
   (_ (_ (identifier) @local.definition))
   (_ (_ (_ (identifier) @local.definition)))
   (_ (_ (_ (_ (identifier) @local.definition))))
   (_ (_ (_ (_ (_ (identifier) @local.definition)))))
   (_ (_ (_ (_ (_ (_ (identifier) @local.definition))))))
  ])

(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))))))
    ])
  ))