helix/runtime/queries/ecma/locals.scm
2025-03-27 10:50:04 -04:00

22 lines
315 B
Scheme

; Scopes
;-------
[
(statement_block)
(function)
(arrow_function)
(function_declaration)
(method_definition)
] @local.scope
; Definitions
;------------
; i => ...
(arrow_function
parameter: (identifier) @local.definition.variable.parameter)
; References
;------------
(identifier) @local.reference