| 1 | [ |
| 2 | (class_declaration body: (_) @class.inside) |
| 3 | (struct_declaration body: (_) @class.inside) |
| 4 | (interface_declaration body: (_) @class.inside) |
| 5 | (enum_declaration body: (_) @class.inside) |
| 6 | (delegate_declaration) |
| 7 | (record_declaration body: (_) @class.inside) |
| 8 | ] @class.around |
| 9 | |
| 10 | (constructor_declaration body: (_) @function.inside) @function.around |
| 11 | |
| 12 | (destructor_declaration body: (_) @function.inside) @function.around |
| 13 | |
| 14 | (method_declaration body: (_) @function.inside) @function.around |
| 15 | |
| 16 | (property_declaration (_) @function.inside) @function.around |
| 17 | |
| 18 | (parameter (_) @parameter.inside) @parameter.around |
| 19 | |
| 20 | (comment)+ @comment.around |