summaryrefslogtreecommitdiff
path: root/runtime/queries/dart/locals.scm
blob: 629838e52e9bbf274a0bcda9999a3b17c58871f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; Scopes
;-------

[
 (block)
 (try_statement)
 (catch_clause)
 (finally_clause)
] @local.scope

; Definitions
;------------

(class_definition
 body: (_) @local.definition)

; References
;------------

(identifier) @local.reference