aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/wren/locals.scm
blob: 38f39d913ae401463deeedef7fdf152fcf6e4c0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[
	(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