Debian Codegraph @

runtime/queries/awk/locals.scm

raw symbols SCIP
1 ; Scopes
2
3 (func_def) @local.scope
4
5 ; Definitions
6
7 ; awk has no local declarations; extra params are the idiom for locals.
8 (func_def
9 (param_list
10 (identifier) @local.definition.variable.parameter))
11
12 ; References
13
14 (identifier) @local.reference
15
16 ; Function names in call position are not variable references.
17 (func_call
18 name: (identifier) @_)