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
[
  (block)
  (fn_stmt)
  (local_fn_stmt)
  (anon_fn)
  (for_range_stmt)
  (for_in_stmt)
] @local.scope

(_
  parameter_name: (name) @local.definition.variable.parameter
)

(binding
  variable_name: (name) @local.definition.variable
)

(var 
  variable_name: (name) @local.reference
)

; (call_stmt
;   .
;   method_table: (name) @local.reference
; )