aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/r/locals.scm
blob: be6cc637942e476919a29920c887e0686a1b22d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
; locals.scm

(function_definition) @local.scope

(formal_parameters (identifier) @local.definition)

(left_assignment name: (identifier) @local.definition)
(equals_assignment name: (identifier) @local.definition)
(right_assignment name: (identifier) @local.definition)

(identifier) @local.reference