Debian Codegraph @

runtime/queries/just/locals.scm

raw symbols SCIP
1 ; This file tells us about the scope of variables so e.g. local
2 ; variables override global functions with the same name
3
4 ; Scope
5
6 (recipe) @local.scope
7
8 ; Definitions
9
10 (alias
11 alias_name: (identifier) @local.definition.variable)
12
13 (assignment
14 name: (identifier) @local.definition.variable)
15
16 (function
17 name: (identifier) @local.definition.function)
18
19 (mod
20 name: (identifier) @local.definition.namespace)
21
22 (recipe_parameter
23 name: (identifier) @local.definition.variable.parameter)
24
25 (recipe
26 name: (identifier) @local.definition.function)
27
28 ; References
29
30 (alias
31 name: (identifier) @local.reference)
32
33 (function_call
34 name: (identifier) @local.reference)
35
36 (module_path
37 name: (identifier) @local.reference)
38
39 (recipe_dependency
40 name: (identifier) @local.reference)
41
42 (value
43 (identifier) @local.reference)