| 1 |
|
| 2 |
(comment) @comment.inside |
| 3 |
(comment)+ @comment.around |
| 4 |
|
| 5 |
(ui_object_definition |
| 6 |
initializer: (_) @class.inside) @class.around |
| 7 |
|
| 8 |
(ui_binding |
| 9 |
name: (identifier) @parameter.inside) @parameter.around |
| 10 |
|
| 11 |
(ui_property |
| 12 |
(_)+ @parameter.inside ":") @parameter.around |
| 13 |
|
| 14 |
(function_declaration |
| 15 |
body: (_) @function.inside) @function.around |
| 16 |
|
| 17 |
(arrow_function |
| 18 |
body: (_) @function.inside) @function.around |
| 19 |
|
| 20 |
|
| 21 |
((ui_binding |
| 22 |
name: (identifier) @_name |
| 23 |
value: (_) @function.around @function.inside) |
| 24 |
(#match? @_name "^on[A-Z].*")) |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
(statement_block (expression_statement)* @function.inside) @function.around |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
(ui_object_array |
| 38 |
((_) @entry.inside . ","? @entry.around) @entry.around) |
| 39 |
|
| 40 |
|
| 41 |
(array |
| 42 |
((_) @entry.inside . ","? @entry.around) @entry.around) |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
((ui_object_definition |
| 47 |
type_name: (identifier) @_name |
| 48 |
initializer: (_) @test.inside) @test.around |
| 49 |
(#eq? @_name "TestCase")) |