| 1 |
(function_definition (_)? @function.inside) @function.around |
| 2 |
|
| 3 |
S. |
| 4 |
((assignment . (call_expression)) @function.inside) @function.around |
| 5 |
|
| 6 |
(macro_definition (_)? @function.inside) @function.around |
| 7 |
|
| 8 |
(struct_definition (_)? @class.inside) @class.around |
| 9 |
|
| 10 |
(abstract_definition (_)? @class.inside) @class.around |
| 11 |
|
| 12 |
(primitive_definition (_)? @class.inside) @class.around |
| 13 |
|
| 14 |
|
| 15 |
(argument_list |
| 16 |
((_) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 17 |
|
| 18 |
(curly_expression |
| 19 |
((_) @parameter.inside . ","? @parameter.around) @parameter.around) |
| 20 |
|
| 21 |
(line_comment) @comment.inside |
| 22 |
|
| 23 |
(line_comment)+ @comment.around |
| 24 |
|
| 25 |
(block_comment) @comment.inside |
| 26 |
|
| 27 |
(block_comment)+ @comment.around |
| 28 |
|
| 29 |
(macrocall_expression (macro_identifier |
| 30 |
(identifier) @_name |
| 31 |
(#match? @_name "^(test|test_throws|test_logs|inferred|test_deprecated|test_warn|test_nowarn|test_broken|test_skip)$") |
| 32 |
) |
| 33 |
. |
| 34 |
(macro_argument_list) @test.inside) @test.around |