helix-mods/runtime/queries/wren/locals.scm
2023-08-04 16:25:36 +02:00

21 lines
365 B
Scheme

[
(method_definition)
] @local.scope
(name) @local.reference
(field) @local.reference
(static_field) @local.reference
(for_statement
loop_variable: (name) @local.definition)
(variable_definition
name: (name) @local.definition)
(assignment
left: (field) @local.definition)
(assignment
left: (static_field) @local.definition)
(parameter) @local.definition