| 1 |
(start_symbol) @keyword |
| 2 |
(hash_symbol) @punctuation.special |
| 3 |
|
| 4 |
(open_paren) @punctuation.bracket |
| 5 |
(close_paren) @punctuation.bracket |
| 6 |
(open_brace) @punctuation.bracket |
| 7 |
(close_brace) @punctuation.bracket |
| 8 |
|
| 9 |
(semicolon) @punctuation.delimiter |
| 10 |
(equals) @punctuation.delimiter |
| 11 |
|
| 12 |
(string_line) @string |
| 13 |
|
| 14 |
(continue_) @keyword.control.conditional |
| 15 |
(break_) @keyword.control.conditional |
| 16 |
|
| 17 |
|
| 18 |
(child_content_) @keyword |
| 19 |
|
| 20 |
(as_) @keyword.operator |
| 21 |
(as_clause |
| 22 |
alias: (component_tag_identifier) @type) |
| 23 |
( |
| 24 |
(start_symbol) @keyword.control.import |
| 25 |
. |
| 26 |
(use_directive (use_) @keyword.control.import) |
| 27 |
) |
| 28 |
|
| 29 |
(number) @constant.numeric |
| 30 |
(bool) @constant.builtin.boolean |
| 31 |
|
| 32 |
(tag_open) @punctuation.bracket |
| 33 |
(tag_close) @punctuation.bracket |
| 34 |
(tag_end_open) @punctuation.bracket |
| 35 |
(tag_self_close) @punctuation.bracket |
| 36 |
|
| 37 |
(component_tag |
| 38 |
name: (component_tag_identifier) @tag) |
| 39 |
|
| 40 |
(component_tag |
| 41 |
name_close: (component_tag_identifier) @tag) |
| 42 |
|
| 43 |
(component_tag_parameter |
| 44 |
name: (rust_identifier) @attribute) |
| 45 |
|
| 46 |
( |
| 47 |
(start_symbol) @function.method |
| 48 |
. |
| 49 |
(rust_expr_simple) |
| 50 |
) |
| 51 |
|
| 52 |
( |
| 53 |
(start_symbol) @function.method |
| 54 |
. |
| 55 |
(rust_expr_paren) |
| 56 |
) |
| 57 |
|
| 58 |
( |
| 59 |
(start_symbol) @keyword.directive |
| 60 |
. |
| 61 |
(rust_block) |
| 62 |
) |
| 63 |
|
| 64 |
( |
| 65 |
(start_symbol) @keyword.control.conditional |
| 66 |
. |
| 67 |
(if_stmt) |
| 68 |
) |
| 69 |
( |
| 70 |
(start_symbol) @keyword |
| 71 |
. |
| 72 |
(for_stmt) |
| 73 |
) |
| 74 |
( |
| 75 |
(start_symbol) @keyword.control.repeat |
| 76 |
. |
| 77 |
(while_stmt) |
| 78 |
) |
| 79 |
|
| 80 |
(param_name) @variable.parameter |
| 81 |
|
| 82 |
|
| 83 |
(else_clause |
| 84 |
head: (rust_text) @keyword.control.conditional) |