Unnamed repository; edit this file 'description' to name the repository.
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
26
; Functions
(private_function
  (function_signature)
  (_) @function.inside) @function.around

(read_only_function
  (function_signature)
  (_) @function.inside) @function.around

(public_function
  (function_signature)
  (_) @function.inside) @function.around

; FIXME: trait_definition not matching — may be a grammar issue
; (trait_definition) @class.around

; Parameters
(function_signature
  (function_parameter) @parameter.inside @parameter.around)

; Comments
(comment) @comment.inside
(comment)+ @comment.around

; Entries
(local_binding) @entry.inside @entry.around