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 (mod
17 name: (identifier) @local.definition.namespace)
18
19 (recipe_parameter
20 name: (identifier) @local.definition.variable.parameter)
21
22 (recipe
23 name: (identifier) @local.definition.function)
24
25 ; References
26
27 (alias
28 name: (identifier) @local.reference)
29
30 (function_call
31 name: (identifier) @local.reference)
32
33 (module_path
34 name: (identifier) @local.reference)
35
36 (recipe_dependency
37 name: (identifier) @local.reference)
38
39 (value
40 (identifier) @local.reference)