aboutsummaryrefslogblamecommitdiff
path: root/runtime/queries/rust/locals.scm
blob: 75e5d181c13abbfc49208151256e83c4e0d1d82c (plain) (tree)
1
2
3
4
5
6
7
        



                      




                                 
                                                   


                             
; Scopes

[
  (function_item)
  (closure_expression)
  (block)
] @local.scope

; Definitions

(parameter
  (identifier) @local.definition)

(closure_parameters (identifier) @local.definition)

; References
(identifier) @local.reference