| 1 |
[ |
| 2 |
"/dts-v1/" |
| 3 |
"/memreserve/" |
| 4 |
"/delete-node/" |
| 5 |
"/delete-property/" |
| 6 |
"/omit-if-no-ref/" |
| 7 |
"/incbin/" |
| 8 |
"/include/" |
| 9 |
"/bits/" |
| 10 |
"/plugin/" |
| 11 |
] @keyword |
| 12 |
|
| 13 |
[ |
| 14 |
"#define" |
| 15 |
"#include" |
| 16 |
"#undef" |
| 17 |
"#if" |
| 18 |
"#ifdef" |
| 19 |
"#ifndef" |
| 20 |
"#elif" |
| 21 |
"#elifdef" |
| 22 |
"#elifndef" |
| 23 |
"#else" |
| 24 |
"#endif" |
| 25 |
"defined" |
| 26 |
] @keyword.directive |
| 27 |
|
| 28 |
[ |
| 29 |
"!" |
| 30 |
"~" |
| 31 |
"-" |
| 32 |
"+" |
| 33 |
"*" |
| 34 |
"/" |
| 35 |
"%" |
| 36 |
"||" |
| 37 |
"&&" |
| 38 |
"|" |
| 39 |
"^" |
| 40 |
"&" |
| 41 |
"==" |
| 42 |
"!=" |
| 43 |
">" |
| 44 |
">=" |
| 45 |
"<=" |
| 46 |
">" |
| 47 |
"<<" |
| 48 |
">>" |
| 49 |
"=" |
| 50 |
"?" |
| 51 |
] @operator |
| 52 |
|
| 53 |
[ |
| 54 |
"," |
| 55 |
";" |
| 56 |
":" |
| 57 |
] @punctuation.delimiter |
| 58 |
|
| 59 |
[ |
| 60 |
"(" |
| 61 |
")" |
| 62 |
"{" |
| 63 |
"}" |
| 64 |
"<" |
| 65 |
">" |
| 66 |
] @punctuation.bracket |
| 67 |
|
| 68 |
(string_literal) @string |
| 69 |
(byte_string_literal) @string |
| 70 |
|
| 71 |
(integer_literal) @constant.numeric.integer |
| 72 |
|
| 73 |
(identifier) @variable |
| 74 |
|
| 75 |
(call_expression |
| 76 |
function: (identifier) @function) |
| 77 |
(preproc_function_def |
| 78 |
name: (identifier) @function.special) |
| 79 |
|
| 80 |
(node |
| 81 |
label: (identifier) @label) |
| 82 |
(property |
| 83 |
label: (identifier) @label) |
| 84 |
(memory_reservation |
| 85 |
label: (identifier) @label) |
| 86 |
|
| 87 |
(property |
| 88 |
name: (identifier) @property) |
| 89 |
|
| 90 |
(unit_address) @tag |
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
e. |
| 95 |
(reference) @constant |
| 96 |
(reference (identifier) @constant) |
| 97 |
|
| 98 |
(comment) @comment |