| 1 | (function_definition |
| 2 | body: (_) @function.inside) @function.around |
| 3 | |
| 4 | (constructor_definition |
| 5 | body: (_) @function.inside) @function.around |
| 6 | |
| 7 | (fallback_receive_definition |
| 8 | body: (_) @function.inside) @function.around |
| 9 | |
| 10 | (yul_function_definition |
| 11 | (yul_block) @function.inside) @function.around |
| 12 | |
| 13 | (function_definition |
| 14 | ((parameter) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 15 | |
| 16 | (constructor_definition |
| 17 | ((parameter) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 18 | |
| 19 | (return_type_definition |
| 20 | ((parameter) @entry.inside . ","? @entry.around) @entry.around) |
| 21 | |
| 22 | (modifier_definition |
| 23 | ((parameter) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 24 | |
| 25 | (event_definition |
| 26 | ((event_parameter) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 27 | |
| 28 | (error_declaration |
| 29 | ((error_parameter) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 30 | |
| 31 | (call_argument |
| 32 | ((call_struct_argument) @entry.inside . ","? @entry.around) @entry.around) |
| 33 | |
| 34 | (call_expression |
| 35 | ((call_argument) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 36 | |
| 37 | (variable_declaration_tuple |
| 38 | ((variable_declaration) @entry.inside . ","? @entry.around) @entry.around) |
| 39 | |
| 40 | (emit_statement |
| 41 | ((call_argument) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 42 | |
| 43 | (revert_arguments |
| 44 | ((call_argument) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 45 | |
| 46 | (struct_declaration |
| 47 | body: (_) @class.inside) @class.around |
| 48 | |
| 49 | (enum_declaration |
| 50 | body: (_) @class.inside) @class.around |
| 51 | |
| 52 | (comment) @comment.inside |
| 53 | |
| 54 | (comment)+ @comment.around |
| 55 |