Debian Codegraph @

runtime/queries/python/textobjects.scm

raw symbols SCIP
1 (function_definition
2 body: (block)? @function.inside) @function.around
3
4 (class_definition
5 body: (block)? @class.inside) @class.around
6
7 (parameters
8 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
9
10 (lambda_parameters
11 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
12
13 (argument_list
14 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
15
16 (comment) @comment.inside
17
18 (comment)+ @comment.around
19
20 ((function_definition
21 name: (identifier) @_name
22 body: (block)? @test.inside) @test.around
23 (#match? @_name "^test_"))
24
25 (list
26 (_) @entry.around)
27
28 (tuple
29 (_) @entry.around)
30
31 (set
32 (_) @entry.around)
33
34 (pair
35 (_) @entry.inside) @entry.around