| 1 | ; Functions |
| 2 | (private_function |
| 3 | (function_signature) |
| 4 | (_) @function.inside) @function.around |
| 5 | |
| 6 | (read_only_function |
| 7 | (function_signature) |
| 8 | (_) @function.inside) @function.around |
| 9 | |
| 10 | (public_function |
| 11 | (function_signature) |
| 12 | (_) @function.inside) @function.around |
| 13 | |
| 14 | ; FIXME: trait_definition not matching — may be a grammar issue |
| 15 | ; (trait_definition) @class.around |
| 16 | |
| 17 | ; Parameters |
| 18 | (function_signature |
| 19 | (function_parameter) @parameter.inside @parameter.around) |
| 20 | |
| 21 | ; Comments |
| 22 | (comment) @comment.inside |
| 23 | (comment)+ @comment.around |
| 24 | |
| 25 | ; Entries |
| 26 | (local_binding) @entry.inside @entry.around |