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

Side by Side Diff: pkg/utf/lib/src/constants.dart

Issue 418433003: pkg/utf: fixed layout, added todos, updated docs and homepage pubspec links (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/utf/lib/list_range.dart ('k') | pkg/utf/lib/src/list_range.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of utf; 5 library utf.constants;
6 6
7 /** 7 /**
8 * Invalid codepoints or encodings may be substituted with the value U+fffd. 8 * Invalid codepoints or encodings may be substituted with the value U+fffd.
9 */ 9 */
10 const int UNICODE_REPLACEMENT_CHARACTER_CODEPOINT = 0xfffd; 10 const int UNICODE_REPLACEMENT_CHARACTER_CODEPOINT = 0xfffd;
11 const int UNICODE_BOM = 0xfeff; 11 const int UNICODE_BOM = 0xfeff;
12 const int UNICODE_UTF_BOM_LO = 0xff; 12 const int UNICODE_UTF_BOM_LO = 0xff;
13 const int UNICODE_UTF_BOM_HI = 0xfe; 13 const int UNICODE_UTF_BOM_HI = 0xfe;
14 14
15 const int UNICODE_BYTE_ZERO_MASK = 0xff; 15 const int UNICODE_BYTE_ZERO_MASK = 0xff;
16 const int UNICODE_BYTE_ONE_MASK = 0xff00; 16 const int UNICODE_BYTE_ONE_MASK = 0xff00;
17 const int UNICODE_VALID_RANGE_MAX = 0x10ffff; 17 const int UNICODE_VALID_RANGE_MAX = 0x10ffff;
18 const int UNICODE_PLANE_ONE_MAX = 0xffff; 18 const int UNICODE_PLANE_ONE_MAX = 0xffff;
19 const int UNICODE_UTF16_RESERVED_LO = 0xd800; 19 const int UNICODE_UTF16_RESERVED_LO = 0xd800;
20 const int UNICODE_UTF16_RESERVED_HI = 0xdfff; 20 const int UNICODE_UTF16_RESERVED_HI = 0xdfff;
21 const int UNICODE_UTF16_OFFSET = 0x10000; 21 const int UNICODE_UTF16_OFFSET = 0x10000;
22 const int UNICODE_UTF16_SURROGATE_UNIT_0_BASE = 0xd800; 22 const int UNICODE_UTF16_SURROGATE_UNIT_0_BASE = 0xd800;
23 const int UNICODE_UTF16_SURROGATE_UNIT_1_BASE = 0xdc00; 23 const int UNICODE_UTF16_SURROGATE_UNIT_1_BASE = 0xdc00;
24 const int UNICODE_UTF16_HI_MASK = 0xffc00; 24 const int UNICODE_UTF16_HI_MASK = 0xffc00;
25 const int UNICODE_UTF16_LO_MASK = 0x3ff; 25 const int UNICODE_UTF16_LO_MASK = 0x3ff;
OLDNEW
« no previous file with comments | « pkg/utf/lib/list_range.dart ('k') | pkg/utf/lib/src/list_range.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698