| 1 | (class |
| 2 | body: (_) @class.inside) @class.around |
| 3 | |
| 4 | (trait |
| 5 | body: (_) @class.inside) @class.around |
| 6 | |
| 7 | (method |
| 8 | body: (_) @function.inside) @function.around |
| 9 | |
| 10 | (reopen_class |
| 11 | body: (_) @class.inside) @class.around |
| 12 | |
| 13 | (implement_trait |
| 14 | body: (_) @class.inside) @class.around |
| 15 | |
| 16 | (external_function |
| 17 | body: (_) @function.inside) @function.around |
| 18 | |
| 19 | (closure |
| 20 | body: (_) @function.inside) @function.around |
| 21 | |
| 22 | (arguments |
| 23 | ((_) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 24 | |
| 25 | (type_arguments |
| 26 | ((_) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 27 | |
| 28 | (line_comment) @comment.inside |
| 29 | |
| 30 | (line_comment)+ @comment.around |
| 31 | |
| 32 | (array (_) @entry.around) |
| 33 | |
| 34 | (tuple (_) @entry.around) |
| 35 | |
| 36 | (tuple_pattern (_) @entry.around) |
| 37 | |
| 38 | (define_field (_) @entry.inside) @entry.around |