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
(sub_unit) @local.scope

(function_declaration) @local.scope
(compound_expression) @local.scope

(global_binding
  (identifier) @local.definition)
(constant_binding
  (identifier) @local.definition)
(type_binding
  (identifier) @local.definition)

(function_declaration
  (identifier) @local.definition)
(function_declaration
  (parameter (name) @local.definition))

(identifier) @local.reference