tree-sitter-bp/queries/locals.scm

18 lines
337 B
Scheme
Raw Permalink Normal View History

(module
(property
field: (identifier) @local.definition.parameter))
(map_expression
(property
field: (identifier) @local.definition.field))
(assignment
left: (identifier) @local.definition.var)
2024-07-01 15:56:21 +02:00
(pattern_binding
binding: (identifier) @local.definition.var)
(identifier) @local.reference
; vim: sw=2 foldmethod=marker