Debian Codegraph @

runtime/queries/fish/locals.scm

raw symbols SCIP
1 ; Scopes
2
3 (function_definition) @local.scope
4
5 ; Definitions
6
7 ; `set`/`read` bindings aren't a dedicated node (the name is an untyped `word`
8 ; argument), so only the for-loop variable is reliably a definition.
9 (for_statement
10 variable: (variable_name) @local.definition.variable)
11
12 ; References
13
14 (variable_name) @local.reference