| 1 |
|
| 2 |
|
| 3 |
[ |
| 4 |
(unique_id) |
| 5 |
(top_level_annotation_body) |
| 6 |
] @keyword.directive |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
[ |
| 11 |
"import" |
| 12 |
"$import" |
| 13 |
"embed" |
| 14 |
"using" |
| 15 |
] @keyword.control.import |
| 16 |
|
| 17 |
(import_path) @string |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
[ |
| 22 |
(primitive_type) |
| 23 |
"List" |
| 24 |
] @type.builtin |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
(type_definition) @type |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
(field_version) @label |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
(annotation_definition_identifier) @function.method |
| 37 |
(method_identifier) @function.method |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
(field_identifier) @variable.other.member |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
(property) @label |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
(param_identifier) @variable.parameter |
| 50 |
(return_identifier) @variable.parameter |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
(const_identifier) @variable |
| 55 |
(local_const) @constant |
| 56 |
(enum_member) @type.enum.variant |
| 57 |
|
| 58 |
(void) @constant.builtin |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
(enum_identifier) @type.enum |
| 63 |
(extend_type) @type |
| 64 |
(type_identifier) @type |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
(annotation_identifier) @attribute |
| 69 |
(attribute) @attribute |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
[ |
| 74 |
|
| 75 |
"=" |
| 76 |
] @operator |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
[ |
| 82 |
"annotation" |
| 83 |
"enum" |
| 84 |
"group" |
| 85 |
"interface" |
| 86 |
"struct" |
| 87 |
"union" |
| 88 |
] @keyword.storage.type |
| 89 |
|
| 90 |
"extends" @keyword |
| 91 |
|
| 92 |
[ |
| 93 |
"namespace" |
| 94 |
(annotation_target) |
| 95 |
] @special |
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
[ |
| 100 |
(string) |
| 101 |
(concatenated_string) |
| 102 |
(block_text) |
| 103 |
(namespace) |
| 104 |
] @string |
| 105 |
|
| 106 |
(escape_sequence) @constant.character.escape |
| 107 |
|
| 108 |
(data_string) @string.special |
| 109 |
|
| 110 |
(number) @constant.numeric.integer |
| 111 |
|
| 112 |
(float) @constant.numeric.float |
| 113 |
|
| 114 |
(boolean) @constant.builtin.boolean |
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
[ |
| 119 |
"const" |
| 120 |
] @keyword.storage.modifier |
| 121 |
|
| 122 |
[ |
| 123 |
"*" |
| 124 |
"$" |
| 125 |
":" |
| 126 |
] @string.special.symbol |
| 127 |
|
| 128 |
["{" "}"] @punctuation.bracket |
| 129 |
|
| 130 |
["(" ")"] @punctuation.bracket |
| 131 |
|
| 132 |
["[" "]"] @punctuation.bracket |
| 133 |
|
| 134 |
[ |
| 135 |
"," |
| 136 |
";" |
| 137 |
"->" |
| 138 |
] @punctuation.delimiter |
| 139 |
|
| 140 |
(data_hex) @constant |
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
(comment) @comment.line |