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
31
32
33
; group
; target
; function
; variable


(block
  (identifier) @_block (#eq? @_block "group")
  (string_lit
    (template_literal) @name)) @definition.module

(block
  (identifier) @_block (#eq? @_block "target")
  (string_lit
    (template_literal) @name)) @definition.struct

(block
  (identifier) @_block (#eq? @_block "function")
  (string_lit
    (template_literal) @name)) @definition.function

(block
  (identifier) @_block (#eq? @_block "variable")
  (string_lit
    (template_literal) @name)) @definition.constant


; (config_file
;   (body
;   (block
;     (identifier) @_block (#eq? @_block "function")
;     (string_lit
;       (template_literal) @name)) @definition.function))