tree-sitter-bp/queries/locals.scm
Bruno BELANYI b04cd92189
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Add locals queries
Once again, treating module as function calls, since that's basically
what they are...
2024-04-14 13:00:17 +01:00

15 lines
272 B
Scheme

(module
(property
field: (identifier) @local.definition.parameter))
(map_expression
(property
field: (identifier) @local.definition.field))
(assignment
left: (identifier) @local.definition.var)
(identifier) @local.reference
; vim: sw=2 foldmethod=marker