| 1 |
|
| 2 |
(hll_comma_expression |
| 3 |
"," @operator) |
| 4 |
|
| 5 |
(hll_conditional_expression |
| 6 |
[ |
| 7 |
"?" |
| 8 |
":" |
| 9 |
] @operator) |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
[ |
| 14 |
"enum" |
| 15 |
"struct" |
| 16 |
"union" |
| 17 |
] @keyword.storage.type |
| 18 |
|
| 19 |
"sizeof" @keyword.operator |
| 20 |
|
| 21 |
[ |
| 22 |
"const" |
| 23 |
"volatile" |
| 24 |
] @keyword.storage.modifier |
| 25 |
|
| 26 |
[ |
| 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 |
"~" |
| 52 |
"!" |
| 53 |
"&" |
| 54 |
"->" |
| 55 |
"*" |
| 56 |
"-=" |
| 57 |
"+=" |
| 58 |
"*=" |
| 59 |
"/=" |
| 60 |
"%=" |
| 61 |
"|=" |
| 62 |
"&=" |
| 63 |
"^=" |
| 64 |
">>=" |
| 65 |
"<<=" |
| 66 |
"--" |
| 67 |
"++" |
| 68 |
] @operator |
| 69 |
|
| 70 |
[ |
| 71 |
"(" |
| 72 |
")" |
| 73 |
"{" |
| 74 |
"}" |
| 75 |
"[" |
| 76 |
"]" |
| 77 |
] @punctuation.bracket |
| 78 |
|
| 79 |
[ |
| 80 |
"," |
| 81 |
"." |
| 82 |
] @punctuation.delimiter |
| 83 |
|
| 84 |
|
| 85 |
(identifier) @variable |
| 86 |
(hll_field_identifier) @variable.other.member |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
(access_class) @constant.builtin |
| 91 |
|
| 92 |
[ |
| 93 |
(address) |
| 94 |
(bitmask) |
| 95 |
(file_handle) |
| 96 |
(integer) |
| 97 |
(hll_number_literal) |
| 98 |
] @constant.numeric.integer |
| 99 |
|
| 100 |
[ |
| 101 |
(float) |
| 102 |
(frequency) |
| 103 |
(percentage) |
| 104 |
(time) |
| 105 |
] @constant.numeric.float |
| 106 |
|
| 107 |
[ |
| 108 |
(string) |
| 109 |
(hll_string_literal) |
| 110 |
] @string |
| 111 |
|
| 112 |
(hll_escape_sequence) @constant.character.escape |
| 113 |
|
| 114 |
(path) @string.special.path |
| 115 |
(symbol) @string.special.symbol |
| 116 |
|
| 117 |
[ |
| 118 |
(character) |
| 119 |
(hll_char_literal) |
| 120 |
] @constant.character |
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
[ |
| 125 |
(hll_type_identifier) |
| 126 |
(hll_type_descriptor) |
| 127 |
] @type |
| 128 |
|
| 129 |
(hll_type_qualifier) @keyword.storage.modifier |
| 130 |
|
| 131 |
(hll_primitive_type) @type.builtin |
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
(hll_call_expression |
| 136 |
function: (hll_field_expression |
| 137 |
field: (hll_field_identifier) @function)) |
| 138 |
|
| 139 |
(hll_call_expression |
| 140 |
function: (identifier) @function) |
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
( |
| 145 |
(command_expression |
| 146 |
command: (identifier) @keyword.control.return) |
| 147 |
(#match? @keyword.control.return "^[eE][nN][dD]([dD][oO])?$") |
| 148 |
) |
| 149 |
( |
| 150 |
(command_expression |
| 151 |
command: (identifier) @keyword.control.return) |
| 152 |
(#match? @keyword.control.return "^[rR][eE][tT][uU][rR][nN]$") |
| 153 |
) |
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
(subroutine_call_expression |
| 158 |
command: (identifier) @keyword |
| 159 |
subroutine: (identifier) @function) |
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
(subroutine_block |
| 164 |
command: (identifier) @keyword |
| 165 |
subroutine: (identifier) @function) |
| 166 |
|
| 167 |
(labeled_expression |
| 168 |
label: (identifier) @function |
| 169 |
(block)) |
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
(parameter_declaration |
| 174 |
command: (identifier) @keyword |
| 175 |
(identifier)? @constant.builtin |
| 176 |
macro: (macro) @variable.parameter) |
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
(macro) @variable.builtin |
| 181 |
(trace32_hll_variable) @variable.builtin |
| 182 |
|
| 183 |
( |
| 184 |
(command_expression |
| 185 |
command: (identifier) @keyword |
| 186 |
arguments: (argument_list . (identifier) @label)) |
| 187 |
(#match? @keyword "^[gG][oO][tT][oO]$") |
| 188 |
) |
| 189 |
(labeled_expression |
| 190 |
label: (identifier) @label) |
| 191 |
|
| 192 |
(option_expression |
| 193 |
(identifier) @constant.builtin) |
| 194 |
|
| 195 |
(format_expression |
| 196 |
(identifier) @constant.builtin) |
| 197 |
|
| 198 |
( |
| 199 |
(argument_list (identifier) @constant.builtin) |
| 200 |
(#match? @constant.builtin "^[%/][a-zA-Z][a-zA-Z0-9.]*$") |
| 201 |
) |
| 202 |
(argument_list |
| 203 |
(identifier) @constant.builtin) |
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
(command_expression command: (identifier) @keyword) |
| 208 |
(macro_definition command: (identifier) @keyword) |
| 209 |
|
| 210 |
(call_expression |
| 211 |
function: (identifier) @function.builtin) |
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
(if_block |
| 216 |
command: (identifier) @keyword.control.conditional) |
| 217 |
(else_block |
| 218 |
command: (identifier) @keyword.control.conditional) |
| 219 |
|
| 220 |
(while_block |
| 221 |
command: (identifier) @keyword.control.repeat) |
| 222 |
(repeat_block |
| 223 |
command: (identifier) @keyword.control.repeat) |
| 224 |
|
| 225 |
|
| 226 |
|
| 227 |
(comment) @comment |