2024-02-29 02:49:10 +01:00
|
|
|
(proc_declaration
|
|
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(func_declaration
|
|
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(iterator_declaration
|
|
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(converter_declaration
|
|
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(method_declaration
|
|
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(template_declaration
|
|
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(macro_declaration
|
|
|
|
body: (_) @function.inside) @function.around
|
2023-03-27 00:06:48 +02:00
|
|
|
|
2024-02-29 02:49:10 +01:00
|
|
|
(type_declaration (_) @class.inside) @class.around
|
2023-03-27 00:06:48 +02:00
|
|
|
|
2024-02-29 02:49:10 +01:00
|
|
|
(parameter_declaration
|
|
|
|
(symbol_declaration_list) @parameter.inside) @parameter.around
|
2023-03-27 00:06:48 +02:00
|
|
|
|
2024-02-29 02:49:10 +01:00
|
|
|
[
|
|
|
|
(comment)
|
|
|
|
(block_comment)
|
|
|
|
(documentation_comment)
|
|
|
|
(block_documentation_comment)
|
|
|
|
] @comment.inside
|
2023-03-27 00:06:48 +02:00
|
|
|
|
2024-02-29 02:49:10 +01:00
|
|
|
[
|
|
|
|
(comment)+
|
|
|
|
(block_comment)
|
|
|
|
(documentation_comment)+
|
|
|
|
(block_documentation_comment)+
|
|
|
|
] @comment.around
|