aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/koka/locals.scm
blob: f8a83e0cb4ba4a3a833143664ef36180cad18909 (plain) (blame)
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
(modulebody) @local.scope

(block) @local.scope

(pattern
  (identifier
    (varid) @local.definition))

(decl
  (apattern
    (pattern
      (identifier
        (varid) @local.definition))))

(puredecl
  (funid
    (identifier
      (varid) @local.definition)))

(puredecl
  (binder
    (identifier
      (varid) @local.definition)))

(decl
  (binder
    (identifier
      (varid) @local.definition)))

(identifier (varid) @local.reference)