Debian Codegraph @

runtime/queries/zig/textobjects.scm

raw symbols SCIP
1 (function_declaration
2 body: (_) @function.inside) @function.around
3
4 (test_declaration (_) (block) @test.inside) @test.around
5
6 ; matches all of: struct, enum, union
7 ; this unfortunately cannot be split up because
8 ; of the way struct "container" types are defined
9 (variable_declaration (identifier) (struct_declaration
10 (_) @class.inside)) @class.around
11
12 (variable_declaration (identifier) (enum_declaration
13 (_) @class.inside)) @class.around
14
15 (variable_declaration (identifier) (enum_declaration
16 (_) @class.inside)) @class.around
17
18 (parameters
19 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
20
21 (arguments
22 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
23
24 (comment) @comment.inside
25 (comment)+ @comment.around