summaryrefslogtreecommitdiff
path: root/runtime/queries/swift/locals.scm
blob: 59cd4c0010ebeca3318ec3d88262e827a3134135 (plain) (blame)
1
2
3
4
5
6
7
[
 (function_declaration)
] @local.scope

(parameter name: (simple_identifier) @local.definition)

(simple_identifier) @local.reference