Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: packages/charcode/lib/ascii.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/charcode/codereview.settings ('k') | packages/charcode/lib/charcode.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/charcode/lib/ascii.dart
diff --git a/packages/charcode/lib/ascii.dart b/packages/charcode/lib/ascii.dart
index 48b51d0fd5579b7218838e671ebbaaf238d2141b..319ab739881e9574c7646fcd414fedfdb41eacbe 100644
--- a/packages/charcode/lib/ascii.dart
+++ b/packages/charcode/lib/ascii.dart
@@ -2,353 +2,507 @@
// for details. All rights reserved. Use of this source is governed by a
// BSD-style license that can be found in the LICENSE file.
-/**
- * Declare integer constants for each ASCII character.
- *
- * The constants all start with "$" to avoid conflicting with other constants.
- *
- * For characters that are valid in an identifier, the character iteself
- * follows the "$". For other characters, a symbolic name is used.
- * In some cases, multiple alternative symbolic names are provided.
- * Please stick to using one name per character in your code.
- *
- * The symbolic names are, where applicable, the name of the symbol without
- * any "mark", "symbol" "sign" or "accent" suffix.
- * Examples: [$exclamation], [$pipe], [$dollar] and [$grave].
- * For less common symbols, a selection of common names are used.
- *
- * For parenthetical markers, there is both a short name, [$lparen]/[$rparen],
- * and a long name, [$open_paren]/ [$close_paren].
- *
- * For common HTML entities, the entity names are also useable as symbolic
- * names: [$apos], [$quot], [$lt], [$gt], and [$amp].
- */
+/// Declare integer constants for each ASCII character.
+///
+/// The constants all start with "$" to avoid conflicting with other constants.
+///
+/// For characters that are valid in an identifier, the character itself
+/// follows the "$". For other characters, a symbolic name is used.
+/// In some cases, multiple alternative symbolic names are provided.
+/// Please stick to using one name per character in your code.
+///
+/// The symbolic names are, where applicable, the name of the symbol without
+/// any "mark", "symbol" "sign" or "accent" suffix.
+/// Examples: [$exclamation], [$pipe], [$dollar] and [$grave].
+/// For less common symbols, a selection of common names are used.
+///
+/// For parenthetical markers, there is both a short name, [$lparen]/[$rparen],
+/// and a long name, [$open_paren]/ [$close_paren].
+///
+/// For common HTML entities, the entity names are also usable as symbolic
+/// names: [$apos], [$quot], [$lt], [$gt], and [$amp].
library charcode.ascii.dollar_lowercase;
// Control characters.
/// "Null character" control character.
-const int $nul = 0x00;
+const int $nul = 0x00;
+
/// "Start of Header" control character.
-const int $soh = 0x01;
+const int $soh = 0x01;
+
/// "Start of Text" control character.
-const int $stx = 0x02;
+const int $stx = 0x02;
+
/// "End of Text" control character.
-const int $etx = 0x03;
+const int $etx = 0x03;
+
/// "End of Transmission" control character.
-const int $eot = 0x04;
+const int $eot = 0x04;
+
/// "Enquiry" control character.
-const int $enq = 0x05;
+const int $enq = 0x05;
+
/// "Acknowledgment" control character.
-const int $ack = 0x06;
+const int $ack = 0x06;
+
/// "Bell" control character.
-const int $bel = 0x07;
+const int $bel = 0x07;
+
/// "Backspace" control character.
-const int $bs = 0x08;
+const int $bs = 0x08;
+
/// "Horizontal Tab" control character.
-const int $ht = 0x09;
+const int $ht = 0x09;
+
/// "Horizontal Tab" control character, common name.
-const int $tab = 0x09;
+const int $tab = 0x09;
+
/// "Line feed" control character.
-const int $lf = 0x0A;
+const int $lf = 0x0A;
+
/// "Vertical Tab" control character.
-const int $vt = 0x0B;
+const int $vt = 0x0B;
+
/// "Form feed" control character.
-const int $ff = 0x0C;
+const int $ff = 0x0C;
+
/// "Carriage return" control character.
-const int $cr = 0x0D;
+const int $cr = 0x0D;
+
/// "Shift Out" control character.
-const int $so = 0x0E;
+const int $so = 0x0E;
+
/// "Shift In" control character.
-const int $si = 0x0F;
+const int $si = 0x0F;
+
/// "Data Link Escape" control character.
-const int $dle = 0x10;
+const int $dle = 0x10;
+
/// "Device Control 1" control character (oft. XON).
-const int $dc1 = 0x11;
+const int $dc1 = 0x11;
+
/// "Device Control 2" control character.
-const int $dc2 = 0x12;
+const int $dc2 = 0x12;
+
/// "Device Control 3" control character (oft. XOFF).
-const int $dc3 = 0x13;
+const int $dc3 = 0x13;
+
/// "Device Control 4" control character.
-const int $dc4 = 0x14;
+const int $dc4 = 0x14;
+
/// "Negative Acknowledgment" control character.
-const int $nak = 0x15;
+const int $nak = 0x15;
+
/// "Synchronous idle" control character.
-const int $syn = 0x16;
+const int $syn = 0x16;
+
/// "End of Transmission Block" control character.
-const int $etb = 0x17;
+const int $etb = 0x17;
+
/// "Cancel" control character.
-const int $can = 0x18;
+const int $can = 0x18;
+
/// "End of Medium" control character.
-const int $em = 0x19;
+const int $em = 0x19;
+
/// "Substitute" control character.
-const int $sub = 0x1A;
+const int $sub = 0x1A;
+
/// "Escape" control character.
-const int $esc = 0x1B;
+const int $esc = 0x1B;
+
/// "File Separator" control character.
-const int $fs = 0x1C;
+const int $fs = 0x1C;
+
/// "Group Separator" control character.
-const int $gs = 0x1D;
+const int $gs = 0x1D;
+
/// "Record Separator" control character.
-const int $rs = 0x1E;
+const int $rs = 0x1E;
+
/// "Unit Separator" control character.
-const int $us = 0x1F;
+const int $us = 0x1F;
+
/// "Delete" control character.
-const int $del = 0x7F;
+const int $del = 0x7F;
// Visible characters.
/// Space character.
-const int $space = 0x20;
+const int $space = 0x20;
+
/// Character '!'.
-const int $exclamation = 0x21;
+const int $exclamation = 0x21;
+
/// Character '"', short name.
-const int $quot = 0x22;
+const int $quot = 0x22;
+
/// Character '"'.
-const int $quote = 0x22;
+const int $quote = 0x22;
+
/// Character '"'.
-const int $double_quote = 0x22;
+const int $double_quote = 0x22;
+
/// Character '"'.
-const int $quotation = 0x22;
+const int $quotation = 0x22;
+
/// Character '#'.
-const int $hash = 0x23;
+const int $hash = 0x23;
+
/// Character '$'.
-const int $$ = 0x24;
+const int $$ = 0x24;
+
/// Character '$'.
-const int $dollar = 0x24;
+const int $dollar = 0x24;
+
/// Character '%'.
-const int $percent = 0x25;
+const int $percent = 0x25;
+
/// Character '&', short name.
-const int $amp = 0x26;
+const int $amp = 0x26;
+
/// Character '&'.
-const int $ampersand = 0x26;
+const int $ampersand = 0x26;
+
/// Character "'".
-const int $apos = 0x27;
+const int $apos = 0x27;
+
/// Character '''.
-const int $apostrophe = 0x27;
+const int $apostrophe = 0x27;
+
/// Character '''.
-const int $single_quote = 0x27;
+const int $single_quote = 0x27;
+
/// Character '('.
-const int $lparen = 0x28;
+const int $lparen = 0x28;
+
/// Character '('.
-const int $open_paren = 0x28;
+const int $open_paren = 0x28;
+
/// Character '('.
-const int $open_parenthesis = 0x28;
+const int $open_parenthesis = 0x28;
+
/// Character ')'.
-const int $rparen = 0x29;
+const int $rparen = 0x29;
+
/// Character ')'.
-const int $close_paren = 0x29;
+const int $close_paren = 0x29;
+
/// Character ')'.
const int $close_parenthesis = 0x29;
+
/// Character '*'.
-const int $asterisk = 0x2A;
+const int $asterisk = 0x2A;
+
/// Character '+'.
-const int $plus = 0x2B;
+const int $plus = 0x2B;
+
/// Character ','.
-const int $comma = 0x2C;
+const int $comma = 0x2C;
+
/// Character '-'.
-const int $minus = 0x2D;
+const int $minus = 0x2D;
+
/// Character '-'.
-const int $dash = 0x2D;
+const int $dash = 0x2D;
+
/// Character '.'.
-const int $dot = 0x2E;
+const int $dot = 0x2E;
+
/// Character '.'.
-const int $fullstop = 0x2E;
+const int $fullstop = 0x2E;
+
/// Character '/'.
-const int $slash = 0x2F;
+const int $slash = 0x2F;
+
/// Character '/'.
-const int $solidus = 0x2F;
+const int $solidus = 0x2F;
+
/// Character '/'.
-const int $division = 0x2F;
+const int $division = 0x2F;
+
/// Character '0'.
-const int $0 = 0x30;
+const int $0 = 0x30;
+
/// Character '1'.
-const int $1 = 0x31;
+const int $1 = 0x31;
+
/// Character '2'.
-const int $2 = 0x32;
+const int $2 = 0x32;
+
/// Character '3'.
-const int $3 = 0x33;
+const int $3 = 0x33;
+
/// Character '4'.
-const int $4 = 0x34;
+const int $4 = 0x34;
+
/// Character '5'.
-const int $5 = 0x35;
+const int $5 = 0x35;
+
/// Character '6'.
-const int $6 = 0x36;
+const int $6 = 0x36;
+
/// Character '7'.
-const int $7 = 0x37;
+const int $7 = 0x37;
+
/// Character '8'.
-const int $8 = 0x38;
+const int $8 = 0x38;
+
/// Character '9'.
-const int $9 = 0x39;
+const int $9 = 0x39;
+
/// Character ':'.
-const int $colon = 0x3A;
+const int $colon = 0x3A;
+
/// Character ';'.
-const int $semicolon = 0x3B;
+const int $semicolon = 0x3B;
+
/// Character '<'.
-const int $lt = 0x3C;
+const int $lt = 0x3C;
+
/// Character '<'.
-const int $less_than = 0x3C;
+const int $less_than = 0x3C;
+
/// Character '<'.
-const int $langle = 0x3C;
+const int $langle = 0x3C;
+
/// Character '<'.
-const int $open_angle = 0x3C;
+const int $open_angle = 0x3C;
+
/// Character '='.
-const int $equal = 0x3D;
+const int $equal = 0x3D;
+
/// Character '>'.
-const int $gt = 0x3E;
+const int $gt = 0x3E;
+
/// Character '>'.
-const int $greater_than = 0x3E;
+const int $greater_than = 0x3E;
+
/// Character '>'.
-const int $rangle = 0x3E;
+const int $rangle = 0x3E;
+
/// Character '>'.
-const int $close_angle = 0x3E;
+const int $close_angle = 0x3E;
+
/// Character '?'.
-const int $question = 0x3F;
+const int $question = 0x3F;
/// Character '@'.
-const int $at = 0x40;
+const int $at = 0x40;
+
/// Character 'A'.
-const int $A = 0x41;
+const int $A = 0x41;
+
/// Character 'B'.
-const int $B = 0x42;
+const int $B = 0x42;
+
/// Character 'C'.
-const int $C = 0x43;
+const int $C = 0x43;
+
/// Character 'D'.
-const int $D = 0x44;
+const int $D = 0x44;
+
/// Character 'E'.
-const int $E = 0x45;
+const int $E = 0x45;
+
/// Character 'F'.
-const int $F = 0x46;
+const int $F = 0x46;
+
/// Character 'G'.
-const int $G = 0x47;
+const int $G = 0x47;
+
/// Character 'H'.
-const int $H = 0x48;
+const int $H = 0x48;
+
/// Character 'I'.
-const int $I = 0x49;
+const int $I = 0x49;
+
/// Character 'J'.
-const int $J = 0x4A;
+const int $J = 0x4A;
+
/// Character 'K'.
-const int $K = 0x4B;
+const int $K = 0x4B;
+
/// Character 'L'.
-const int $L = 0x4C;
+const int $L = 0x4C;
+
/// Character 'M'.
-const int $M = 0x4D;
+const int $M = 0x4D;
+
/// Character 'N'.
-const int $N = 0x4E;
+const int $N = 0x4E;
+
/// Character 'O'.
-const int $O = 0x4F;
+const int $O = 0x4F;
+
/// Character 'P'.
-const int $P = 0x50;
+const int $P = 0x50;
+
/// Character 'Q'.
-const int $Q = 0x51;
+const int $Q = 0x51;
+
/// Character 'R'.
-const int $R = 0x52;
+const int $R = 0x52;
+
/// Character 'S'.
-const int $S = 0x53;
+const int $S = 0x53;
+
/// Character 'T'.
-const int $T = 0x54;
+const int $T = 0x54;
+
/// Character 'U'.
-const int $U = 0x55;
+const int $U = 0x55;
+
/// Character 'V'.
-const int $V = 0x56;
+const int $V = 0x56;
+
/// Character 'W'.
-const int $W = 0x57;
+const int $W = 0x57;
+
/// Character 'X'.
-const int $X = 0x58;
+const int $X = 0x58;
+
/// Character 'Y'.
-const int $Y = 0x59;
+const int $Y = 0x59;
+
/// Character 'Z'.
-const int $Z = 0x5A;
+const int $Z = 0x5A;
+
/// Character '['.
-const int $lbracket = 0x5B;
+const int $lbracket = 0x5B;
+
/// Character '['.
-const int $open_bracket = 0x5B;
+const int $open_bracket = 0x5B;
+
/// Character '\'.
-const int $backslash = 0x5C;
+const int $backslash = 0x5C;
+
/// Character ']'.
-const int $rbracket = 0x5D;
+const int $rbracket = 0x5D;
+
/// Character ']'.
-const int $close_bracket = 0x5D;
+const int $close_bracket = 0x5D;
+
/// Character '^'.
-const int $circumflex = 0x5E;
+const int $circumflex = 0x5E;
+
/// Character '^'.
-const int $caret = 0x5E;
+const int $caret = 0x5E;
+
/// Character '^'.
-const int $hat = 0x5E;
+const int $hat = 0x5E;
+
/// Character '_'.
-const int $_ = 0x5F;
+const int $_ = 0x5F;
+
/// Character '_'.
-const int $underscore = 0x5F;
+const int $underscore = 0x5F;
+
/// Character '_'.
-const int $underline = 0x5F;
+const int $underline = 0x5F;
/// Character '`'.
-const int $backquote = 0x60;
+const int $backquote = 0x60;
+
/// Character '`'.
-const int $grave = 0x60;
+const int $grave = 0x60;
+
/// Character 'a'.
-const int $a = 0x61;
+const int $a = 0x61;
+
/// Character 'b'.
-const int $b = 0x62;
+const int $b = 0x62;
+
/// Character 'c'.
-const int $c = 0x63;
+const int $c = 0x63;
+
/// Character 'd'.
-const int $d = 0x64;
+const int $d = 0x64;
+
/// Character 'e'.
-const int $e = 0x65;
+const int $e = 0x65;
+
/// Character 'f'.
-const int $f = 0x66;
+const int $f = 0x66;
+
/// Character 'g'.
-const int $g = 0x67;
+const int $g = 0x67;
+
/// Character 'h'.
-const int $h = 0x68;
+const int $h = 0x68;
+
/// Character 'i'.
-const int $i = 0x69;
+const int $i = 0x69;
+
/// Character 'j'.
-const int $j = 0x6A;
+const int $j = 0x6A;
+
/// Character 'k'.
-const int $k = 0x6B;
+const int $k = 0x6B;
+
/// Character 'l'.
-const int $l = 0x6C;
+const int $l = 0x6C;
+
/// Character 'm'.
-const int $m = 0x6D;
+const int $m = 0x6D;
+
/// Character 'n'.
-const int $n = 0x6E;
+const int $n = 0x6E;
+
/// Character 'o'.
-const int $o = 0x6F;
+const int $o = 0x6F;
+
/// Character 'p'.
-const int $p = 0x70;
+const int $p = 0x70;
+
/// Character 'q'.
-const int $q = 0x71;
+const int $q = 0x71;
+
/// Character 'r'.
-const int $r = 0x72;
+const int $r = 0x72;
+
/// Character 's'.
-const int $s = 0x73;
+const int $s = 0x73;
+
/// Character 't'.
-const int $t = 0x74;
+const int $t = 0x74;
+
/// Character 'u'.
-const int $u = 0x75;
+const int $u = 0x75;
+
/// Character 'v'.
-const int $v = 0x76;
+const int $v = 0x76;
+
/// Character 'w'.
-const int $w = 0x77;
+const int $w = 0x77;
+
/// Character 'x'.
-const int $x = 0x78;
+const int $x = 0x78;
+
/// Character 'y'.
-const int $y = 0x79;
+const int $y = 0x79;
+
/// Character 'z'.
-const int $z = 0x7A;
+const int $z = 0x7A;
+
/// Character '{'.
-const int $lbrace = 0x7B;
+const int $lbrace = 0x7B;
+
/// Character '{'.
-const int $open_brace = 0x7B;
+const int $open_brace = 0x7B;
+
/// Character '|'.
-const int $pipe = 0x7C;
+const int $pipe = 0x7C;
+
/// Character '|'.
-const int $bar = 0x7C;
+const int $bar = 0x7C;
+
/// Character '}'.
-const int $rbrace = 0x7D;
+const int $rbrace = 0x7D;
+
/// Character '}'.
-const int $close_brace = 0x7D;
+const int $close_brace = 0x7D;
+
/// Character '~'.
-const int $tilde = 0x7E;
+const int $tilde = 0x7E;
« no previous file with comments | « packages/charcode/codereview.settings ('k') | packages/charcode/lib/charcode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698