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
; Scopes
(module (_) @local.scope)

(function
  body: (_) @local.scope)

; Definitions
(assign
  lhs: (identifier) @local.definition)

(variable
  (identifier) @local.definition)

(arg
  (identifier) @local.definition)

(arg
  (variable (identifier)) @local.definition)

(import_item
  (identifier) @local.definition)

(entry_block
  (identifier) @local.definition)

(entry_inline
  (identifier) @local.definition)

; References
(identifier) @local.reference