aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/jsonnet/locals.scm
blob: 778077764476b96aef52d4e4e60f4cfd8882937e (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
(parenthesis) @local.scope

(anonymous_function) @local.scope

(object) @local.scope

(field) @local.scope

(local_bind) @local.scope

(field
  function: (fieldname
    (id) @local.definition.function)
  (#set! definition.function.scope "parent"))

(bind
  (id) @local.definition.var)

(bind
  function: (id) @local.definition.function)

(param
  (id) @local.definition.parameter)

(id) @local.reference

;(fieldname (id) (#is-not? local)) ; (#is-not?) not supported yet