| 1 |
[ |
| 2 |
"ajar" |
| 3 |
"alias" |
| 4 |
"as" |
| 5 |
"bits" |
| 6 |
"closed" |
| 7 |
"compose" |
| 8 |
"const" |
| 9 |
"enum" |
| 10 |
"error" |
| 11 |
"flexible" |
| 12 |
"library" |
| 13 |
"open" |
| 14 |
|
| 15 |
"overlay" |
| 16 |
"protocol" |
| 17 |
"reserved" |
| 18 |
"resource" |
| 19 |
"service" |
| 20 |
"strict" |
| 21 |
"struct" |
| 22 |
"table" |
| 23 |
"type" |
| 24 |
"union" |
| 25 |
"using" |
| 26 |
] @keyword |
| 27 |
|
| 28 |
(primitives_type) @type.builtin |
| 29 |
|
| 30 |
(builtin_complex_type) @type.builtin |
| 31 |
|
| 32 |
(const_declaration |
| 33 |
(identifier) @constant) |
| 34 |
|
| 35 |
[ |
| 36 |
"=" |
| 37 |
"|" |
| 38 |
"&" |
| 39 |
"->" |
| 40 |
] @operator |
| 41 |
|
| 42 |
(attribute |
| 43 |
"@" @attribute |
| 44 |
(identifier) @attribute) |
| 45 |
|
| 46 |
(string_literal) @string |
| 47 |
|
| 48 |
(numeric_literal) @constant.numeric |
| 49 |
|
| 50 |
[ |
| 51 |
(true) |
| 52 |
(false) |
| 53 |
] @constant.builtin.boolean |
| 54 |
|
| 55 |
(comment) @comment |
| 56 |
|
| 57 |
[ |
| 58 |
"(" |
| 59 |
")" |
| 60 |
"<" |
| 61 |
">" |
| 62 |
"{" |
| 63 |
"}" |
| 64 |
] @punctuation.bracket |