summaryrefslogtreecommitdiff
path: root/runtime/queries/kotlin/locals.scm
blob: 752ed995e89276536626ef58f969f4d1a31746f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; Scopes

[
  (class_declaration)
  (function_declaration)
] @local.scope

; Definitions

(type_parameter
  (type_identifier) @local.definition)

; References

(type_identifier) @local.reference