summaryrefslogtreecommitdiff
path: root/runtime/queries/fsharp/locals.scm
blob: aa36755effe685143bedae5c118d83de1e4e5f08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
; Scopes
;-------

[
  (ce_expression)
  (module_defn)
  (for_expression)
  (do_expression)
  (fun_expression)
  (function_expression)
  (try_expression)
  (match_expression)
  (elif_expression)
  (if_expression)
] @local.scope

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

(function_or_value_defn) @local.definition

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

(identifier) @local.reference