| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file |  | 
| 2 // for details. All rights reserved. Use of this source is governed by a |  | 
| 3 // BSD-style license that can be found in the LICENSE file. |  | 
| 4 |  | 
| 5 /** |  | 
| 6  * Declare integer constants for each ASCII character. |  | 
| 7  * |  | 
| 8  * The constants all start with "$" to avoid conflicting with other constants. |  | 
| 9  * |  | 
| 10  * For characters that are valid in an identifier, the character iteself |  | 
| 11  * follows the "$". For other characters, a symbolic name is used. |  | 
| 12  * In some cases, multiple alternative symbolic names are provided. |  | 
| 13  * Please stick to using one name per character in your code. |  | 
| 14  * |  | 
| 15  * The symbolic names are, where applicable, the name of the symbol without |  | 
| 16  * any "mark", "symbol" "sign" or "accent" suffix. |  | 
| 17  * Examples: [$exclamation], [$pipe], [$dollar] and [$grave]. |  | 
| 18  * For less common symbols, a selection of common names are used. |  | 
| 19  * |  | 
| 20  * For parenthetical markers, there is both a short name, [$lparen]/[$rparen], |  | 
| 21  * and a long name, [$open_paren]/ [$close_paren]. |  | 
| 22  * |  | 
| 23  * For common HTML entities, the entity names are also useable as symbolic |  | 
| 24  * names: [$apos], [$quot], [$lt], [$gt], and [$amp]. |  | 
| 25  */ |  | 
| 26 library charcode.ascii.dollar_lowercase; |  | 
| 27 |  | 
| 28 // Control characters. |  | 
| 29 |  | 
| 30 /// "Null character" control character. |  | 
| 31 const int $nul               = 0x00; |  | 
| 32 /// "Start of Header" control character. |  | 
| 33 const int $soh               = 0x01; |  | 
| 34 /// "Start of Text" control character. |  | 
| 35 const int $stx               = 0x02; |  | 
| 36 /// "End of Text" control character. |  | 
| 37 const int $etx               = 0x03; |  | 
| 38 /// "End of Transmission" control character. |  | 
| 39 const int $eot               = 0x04; |  | 
| 40 /// "Enquiry" control character. |  | 
| 41 const int $enq               = 0x05; |  | 
| 42 /// "Acknowledgment" control character. |  | 
| 43 const int $ack               = 0x06; |  | 
| 44 /// "Bell" control character. |  | 
| 45 const int $bel               = 0x07; |  | 
| 46 /// "Backspace" control character. |  | 
| 47 const int $bs                = 0x08; |  | 
| 48 /// "Horizontal Tab" control character. |  | 
| 49 const int $ht                = 0x09; |  | 
| 50 /// "Horizontal Tab" control character, common name. |  | 
| 51 const int $tab               = 0x09; |  | 
| 52 /// "Line feed" control character. |  | 
| 53 const int $lf                = 0x0A; |  | 
| 54 /// "Vertical Tab" control character. |  | 
| 55 const int $vt                = 0x0B; |  | 
| 56 /// "Form feed" control character. |  | 
| 57 const int $ff                = 0x0C; |  | 
| 58 /// "Carriage return" control character. |  | 
| 59 const int $cr                = 0x0D; |  | 
| 60 /// "Shift Out" control character. |  | 
| 61 const int $so                = 0x0E; |  | 
| 62 /// "Shift In" control character. |  | 
| 63 const int $si                = 0x0F; |  | 
| 64 /// "Data Link Escape" control character. |  | 
| 65 const int $dle               = 0x10; |  | 
| 66 /// "Device Control 1" control character (oft. XON). |  | 
| 67 const int $dc1               = 0x11; |  | 
| 68 /// "Device Control 2" control character. |  | 
| 69 const int $dc2               = 0x12; |  | 
| 70 /// "Device Control 3" control character (oft. XOFF). |  | 
| 71 const int $dc3               = 0x13; |  | 
| 72 /// "Device Control 4" control character. |  | 
| 73 const int $dc4               = 0x14; |  | 
| 74 /// "Negative Acknowledgment" control character. |  | 
| 75 const int $nak               = 0x15; |  | 
| 76 /// "Synchronous idle" control character. |  | 
| 77 const int $syn               = 0x16; |  | 
| 78 /// "End of Transmission Block" control character. |  | 
| 79 const int $etb               = 0x17; |  | 
| 80 /// "Cancel" control character. |  | 
| 81 const int $can               = 0x18; |  | 
| 82 /// "End of Medium" control character. |  | 
| 83 const int $em                = 0x19; |  | 
| 84 /// "Substitute" control character. |  | 
| 85 const int $sub               = 0x1A; |  | 
| 86 /// "Escape" control character. |  | 
| 87 const int $esc               = 0x1B; |  | 
| 88 /// "File Separator" control character. |  | 
| 89 const int $fs                = 0x1C; |  | 
| 90 /// "Group Separator" control character. |  | 
| 91 const int $gs                = 0x1D; |  | 
| 92 /// "Record Separator" control character. |  | 
| 93 const int $rs                = 0x1E; |  | 
| 94 /// "Unit Separator" control character. |  | 
| 95 const int $us                = 0x1F; |  | 
| 96 /// "Delete" control character. |  | 
| 97 const int $del               = 0x7F; |  | 
| 98 |  | 
| 99 // Visible characters. |  | 
| 100 |  | 
| 101 /// Space character. |  | 
| 102 const int $space             = 0x20; |  | 
| 103 /// Character '!'. |  | 
| 104 const int $exclamation       = 0x21; |  | 
| 105 /// Character '"', short name. |  | 
| 106 const int $quot              = 0x22; |  | 
| 107 /// Character '"'. |  | 
| 108 const int $quote             = 0x22; |  | 
| 109 /// Character '"'. |  | 
| 110 const int $double_quote      = 0x22; |  | 
| 111 /// Character '"'. |  | 
| 112 const int $quotation         = 0x22; |  | 
| 113 /// Character '#'. |  | 
| 114 const int $hash              = 0x23; |  | 
| 115 /// Character '$'. |  | 
| 116 const int $$                 = 0x24; |  | 
| 117 /// Character '$'. |  | 
| 118 const int $dollar            = 0x24; |  | 
| 119 /// Character '%'. |  | 
| 120 const int $percent           = 0x25; |  | 
| 121 /// Character '&', short name. |  | 
| 122 const int $amp               = 0x26; |  | 
| 123 /// Character '&'. |  | 
| 124 const int $ampersand         = 0x26; |  | 
| 125 /// Character "'". |  | 
| 126 const int $apos              = 0x27; |  | 
| 127 /// Character '''. |  | 
| 128 const int $apostrophe        = 0x27; |  | 
| 129 /// Character '''. |  | 
| 130 const int $single_quote      = 0x27; |  | 
| 131 /// Character '('. |  | 
| 132 const int $lparen            = 0x28; |  | 
| 133 /// Character '('. |  | 
| 134 const int $open_paren        = 0x28; |  | 
| 135 /// Character '('. |  | 
| 136 const int $open_parenthesis  = 0x28; |  | 
| 137 /// Character ')'. |  | 
| 138 const int $rparen            = 0x29; |  | 
| 139 /// Character ')'. |  | 
| 140 const int $close_paren       = 0x29; |  | 
| 141 /// Character ')'. |  | 
| 142 const int $close_parenthesis = 0x29; |  | 
| 143 /// Character '*'. |  | 
| 144 const int $asterisk          = 0x2A; |  | 
| 145 /// Character '+'. |  | 
| 146 const int $plus              = 0x2B; |  | 
| 147 /// Character ','. |  | 
| 148 const int $comma             = 0x2C; |  | 
| 149 /// Character '-'. |  | 
| 150 const int $minus             = 0x2D; |  | 
| 151 /// Character '-'. |  | 
| 152 const int $dash              = 0x2D; |  | 
| 153 /// Character '.'. |  | 
| 154 const int $dot               = 0x2E; |  | 
| 155 /// Character '.'. |  | 
| 156 const int $fullstop          = 0x2E; |  | 
| 157 /// Character '/'. |  | 
| 158 const int $slash             = 0x2F; |  | 
| 159 /// Character '/'. |  | 
| 160 const int $solidus           = 0x2F; |  | 
| 161 /// Character '/'. |  | 
| 162 const int $division          = 0x2F; |  | 
| 163 /// Character '0'. |  | 
| 164 const int $0                 = 0x30; |  | 
| 165 /// Character '1'. |  | 
| 166 const int $1                 = 0x31; |  | 
| 167 /// Character '2'. |  | 
| 168 const int $2                 = 0x32; |  | 
| 169 /// Character '3'. |  | 
| 170 const int $3                 = 0x33; |  | 
| 171 /// Character '4'. |  | 
| 172 const int $4                 = 0x34; |  | 
| 173 /// Character '5'. |  | 
| 174 const int $5                 = 0x35; |  | 
| 175 /// Character '6'. |  | 
| 176 const int $6                 = 0x36; |  | 
| 177 /// Character '7'. |  | 
| 178 const int $7                 = 0x37; |  | 
| 179 /// Character '8'. |  | 
| 180 const int $8                 = 0x38; |  | 
| 181 /// Character '9'. |  | 
| 182 const int $9                 = 0x39; |  | 
| 183 /// Character ':'. |  | 
| 184 const int $colon             = 0x3A; |  | 
| 185 /// Character ';'. |  | 
| 186 const int $semicolon         = 0x3B; |  | 
| 187 /// Character '<'. |  | 
| 188 const int $lt                = 0x3C; |  | 
| 189 /// Character '<'. |  | 
| 190 const int $less_than         = 0x3C; |  | 
| 191 /// Character '<'. |  | 
| 192 const int $langle            = 0x3C; |  | 
| 193 /// Character '<'. |  | 
| 194 const int $open_angle        = 0x3C; |  | 
| 195 /// Character '='. |  | 
| 196 const int $equal             = 0x3D; |  | 
| 197 /// Character '>'. |  | 
| 198 const int $gt                = 0x3E; |  | 
| 199 /// Character '>'. |  | 
| 200 const int $greater_than      = 0x3E; |  | 
| 201 /// Character '>'. |  | 
| 202 const int $rangle            = 0x3E; |  | 
| 203 /// Character '>'. |  | 
| 204 const int $close_angle       = 0x3E; |  | 
| 205 /// Character '?'. |  | 
| 206 const int $question          = 0x3F; |  | 
| 207 |  | 
| 208 /// Character '@'. |  | 
| 209 const int $at                = 0x40; |  | 
| 210 /// Character 'A'. |  | 
| 211 const int $A                 = 0x41; |  | 
| 212 /// Character 'B'. |  | 
| 213 const int $B                 = 0x42; |  | 
| 214 /// Character 'C'. |  | 
| 215 const int $C                 = 0x43; |  | 
| 216 /// Character 'D'. |  | 
| 217 const int $D                 = 0x44; |  | 
| 218 /// Character 'E'. |  | 
| 219 const int $E                 = 0x45; |  | 
| 220 /// Character 'F'. |  | 
| 221 const int $F                 = 0x46; |  | 
| 222 /// Character 'G'. |  | 
| 223 const int $G                 = 0x47; |  | 
| 224 /// Character 'H'. |  | 
| 225 const int $H                 = 0x48; |  | 
| 226 /// Character 'I'. |  | 
| 227 const int $I                 = 0x49; |  | 
| 228 /// Character 'J'. |  | 
| 229 const int $J                 = 0x4A; |  | 
| 230 /// Character 'K'. |  | 
| 231 const int $K                 = 0x4B; |  | 
| 232 /// Character 'L'. |  | 
| 233 const int $L                 = 0x4C; |  | 
| 234 /// Character 'M'. |  | 
| 235 const int $M                 = 0x4D; |  | 
| 236 /// Character 'N'. |  | 
| 237 const int $N                 = 0x4E; |  | 
| 238 /// Character 'O'. |  | 
| 239 const int $O                 = 0x4F; |  | 
| 240 /// Character 'P'. |  | 
| 241 const int $P                 = 0x50; |  | 
| 242 /// Character 'Q'. |  | 
| 243 const int $Q                 = 0x51; |  | 
| 244 /// Character 'R'. |  | 
| 245 const int $R                 = 0x52; |  | 
| 246 /// Character 'S'. |  | 
| 247 const int $S                 = 0x53; |  | 
| 248 /// Character 'T'. |  | 
| 249 const int $T                 = 0x54; |  | 
| 250 /// Character 'U'. |  | 
| 251 const int $U                 = 0x55; |  | 
| 252 /// Character 'V'. |  | 
| 253 const int $V                 = 0x56; |  | 
| 254 /// Character 'W'. |  | 
| 255 const int $W                 = 0x57; |  | 
| 256 /// Character 'X'. |  | 
| 257 const int $X                 = 0x58; |  | 
| 258 /// Character 'Y'. |  | 
| 259 const int $Y                 = 0x59; |  | 
| 260 /// Character 'Z'. |  | 
| 261 const int $Z                 = 0x5A; |  | 
| 262 /// Character '['. |  | 
| 263 const int $lbracket          = 0x5B; |  | 
| 264 /// Character '['. |  | 
| 265 const int $open_bracket      = 0x5B; |  | 
| 266 /// Character '\'. |  | 
| 267 const int $backslash         = 0x5C; |  | 
| 268 /// Character ']'. |  | 
| 269 const int $rbracket          = 0x5D; |  | 
| 270 /// Character ']'. |  | 
| 271 const int $close_bracket     = 0x5D; |  | 
| 272 /// Character '^'. |  | 
| 273 const int $circumflex        = 0x5E; |  | 
| 274 /// Character '^'. |  | 
| 275 const int $caret             = 0x5E; |  | 
| 276 /// Character '^'. |  | 
| 277 const int $hat               = 0x5E; |  | 
| 278 /// Character '_'. |  | 
| 279 const int $_                 = 0x5F; |  | 
| 280 /// Character '_'. |  | 
| 281 const int $underscore        = 0x5F; |  | 
| 282 /// Character '_'. |  | 
| 283 const int $underline         = 0x5F; |  | 
| 284 |  | 
| 285 /// Character '`'. |  | 
| 286 const int $backquote         = 0x60; |  | 
| 287 /// Character '`'. |  | 
| 288 const int $grave             = 0x60; |  | 
| 289 /// Character 'a'. |  | 
| 290 const int $a                 = 0x61; |  | 
| 291 /// Character 'b'. |  | 
| 292 const int $b                 = 0x62; |  | 
| 293 /// Character 'c'. |  | 
| 294 const int $c                 = 0x63; |  | 
| 295 /// Character 'd'. |  | 
| 296 const int $d                 = 0x64; |  | 
| 297 /// Character 'e'. |  | 
| 298 const int $e                 = 0x65; |  | 
| 299 /// Character 'f'. |  | 
| 300 const int $f                 = 0x66; |  | 
| 301 /// Character 'g'. |  | 
| 302 const int $g                 = 0x67; |  | 
| 303 /// Character 'h'. |  | 
| 304 const int $h                 = 0x68; |  | 
| 305 /// Character 'i'. |  | 
| 306 const int $i                 = 0x69; |  | 
| 307 /// Character 'j'. |  | 
| 308 const int $j                 = 0x6A; |  | 
| 309 /// Character 'k'. |  | 
| 310 const int $k                 = 0x6B; |  | 
| 311 /// Character 'l'. |  | 
| 312 const int $l                 = 0x6C; |  | 
| 313 /// Character 'm'. |  | 
| 314 const int $m                 = 0x6D; |  | 
| 315 /// Character 'n'. |  | 
| 316 const int $n                 = 0x6E; |  | 
| 317 /// Character 'o'. |  | 
| 318 const int $o                 = 0x6F; |  | 
| 319 /// Character 'p'. |  | 
| 320 const int $p                 = 0x70; |  | 
| 321 /// Character 'q'. |  | 
| 322 const int $q                 = 0x71; |  | 
| 323 /// Character 'r'. |  | 
| 324 const int $r                 = 0x72; |  | 
| 325 /// Character 's'. |  | 
| 326 const int $s                 = 0x73; |  | 
| 327 /// Character 't'. |  | 
| 328 const int $t                 = 0x74; |  | 
| 329 /// Character 'u'. |  | 
| 330 const int $u                 = 0x75; |  | 
| 331 /// Character 'v'. |  | 
| 332 const int $v                 = 0x76; |  | 
| 333 /// Character 'w'. |  | 
| 334 const int $w                 = 0x77; |  | 
| 335 /// Character 'x'. |  | 
| 336 const int $x                 = 0x78; |  | 
| 337 /// Character 'y'. |  | 
| 338 const int $y                 = 0x79; |  | 
| 339 /// Character 'z'. |  | 
| 340 const int $z                 = 0x7A; |  | 
| 341 /// Character '{'. |  | 
| 342 const int $lbrace            = 0x7B; |  | 
| 343 /// Character '{'. |  | 
| 344 const int $open_brace        = 0x7B; |  | 
| 345 /// Character '|'. |  | 
| 346 const int $pipe              = 0x7C; |  | 
| 347 /// Character '|'. |  | 
| 348 const int $bar               = 0x7C; |  | 
| 349 /// Character '}'. |  | 
| 350 const int $rbrace            = 0x7D; |  | 
| 351 /// Character '}'. |  | 
| 352 const int $close_brace       = 0x7D; |  | 
| 353 /// Character '~'. |  | 
| 354 const int $tilde             = 0x7E; |  | 
| OLD | NEW | 
|---|