tree-sitter-bp/queries/locals.scm

16 lines
306 B
Scheme
Raw 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