Debian Codegraph @

runtime/queries/haxe/locals.scm

raw symbols SCIP
1 ; Scopes
2 [
3 (block)
4 (class_declaration)
5 (interface_declaration)
6 (function_declaration)
7 (switch_expression)
8 ] @local.scope
9
10 ; Definitions
11 (function_arg name: (identifier) @local.definition.variable.parameter)
12 (variable_declaration name: (identifier) @local.definition.variable)
13
14 ; References
15 (identifier) @local.reference
16
17 ; The `member` side of `a.b` is field access, not a variable reference.
18 (member_expression
19 member: (identifier) @_)
20 ; A bare-identifier callee is a function/method name, not a variable reference
21 ; (matches the `@function` baseline in highlights.scm).
22 (call_expression
23 object: (identifier) @_)
24 ; Type names are type references, not value references.
25 (type
26 type_name: (identifier) @_)
27 (type
28 built_in: (identifier) @_)