| 1 | (class_declaration |
| 2 | body: (_) @class.inside) @class.around |
| 3 | |
| 4 | (interface_declaration |
| 5 | body: (_) @class.inside) @class.around |
| 6 | |
| 7 | (trait_declaration |
| 8 | body: (_) @class.inside) @class.around |
| 9 | |
| 10 | (enum_declaration |
| 11 | body: (_) @class.inside) @class.around |
| 12 | |
| 13 | (function_definition |
| 14 | body: (_) @function.inside) @function.around |
| 15 | |
| 16 | (method_declaration |
| 17 | body: (_) @function.inside) @function.around |
| 18 | |
| 19 | (arrow_function |
| 20 | body: (_) @function.inside) @function.around |
| 21 | |
| 22 | (anonymous_function |
| 23 | body: (_) @function.inside) @function.around |
| 24 | |
| 25 | (anonymous_class |
| 26 | body: (_) @class.inside) @class.around |
| 27 | |
| 28 | (property_hook |
| 29 | body: (_) @function.inside) @function.around |
| 30 | |
| 31 | (anonymous_function_use_clause |
| 32 | ((_) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 33 | |
| 34 | (formal_parameters |
| 35 | ([ |
| 36 | (simple_parameter) |
| 37 | (variadic_parameter) |
| 38 | (property_promotion_parameter) |
| 39 | ] @parameter.inside . ","? @parameter.around) @parameter.around) |
| 40 | |
| 41 | (arguments |
| 42 | ((_) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 43 | |
| 44 | (comment) @comment.inside |
| 45 | |
| 46 | (comment)+ @comment.around |
| 47 | |
| 48 | (array_creation_expression |
| 49 | (array_element_initializer |
| 50 | (_) @entry.inside |
| 51 | ) @entry.around @entry.movement) |
| 52 | |
| 53 | (list_literal |
| 54 | (_) @entry.inside @entry.around @entry.movement) |
| 55 | |
| 56 | [ |
| 57 | (enum_case) |
| 58 | ] @entry.around @entry.movement |