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
(function_declaration
  body: (_) @function.inside) @function.around

(test_declaration (_) (block) @test.inside) @test.around

; matches all of: struct, enum, union
; this unfortunately cannot be split up because
; of the way struct "container" types are defined
(variable_declaration (identifier) (struct_declaration
    (_) @class.inside)) @class.around

(variable_declaration (identifier) (enum_declaration
    (_) @class.inside)) @class.around

(variable_declaration (identifier) (enum_declaration
    (_) @class.inside)) @class.around

(parameters
  ((_) @parameter.inside . ","? @parameter.around) @parameter.around)

(comment) @comment.inside
(comment)+ @comment.around