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

Side by Side Diff: pkg/compiler/lib/src/util/characters.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/compiler/lib/src/use_unused_api.dart ('k') | pkg/compiler/lib/src/util/command_line.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 library characters; 5 library characters;
6 6
7 const int $EOF = 0; 7 const int $EOF = 0;
8 const int $STX = 2; 8 const int $STX = 2;
9 const int $BS = 8; 9 const int $BS = 8;
10 const int $TAB = 9; 10 const int $TAB = 9;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 (value > $LAST_SURROGATE && value <= $LAST_CODE_POINT); 134 (value > $LAST_SURROGATE && value <= $LAST_CODE_POINT);
135 } 135 }
136 136
137 bool isUtf16LeadSurrogate(int value) { 137 bool isUtf16LeadSurrogate(int value) {
138 return value >= 0xd800 && value <= 0xdbff; 138 return value >= 0xd800 && value <= 0xdbff;
139 } 139 }
140 140
141 bool isUtf16TrailSurrogate(int value) { 141 bool isUtf16TrailSurrogate(int value) {
142 return value >= 0xdc00 && value <= 0xdfff; 142 return value >= 0xdc00 && value <= 0xdfff;
143 } 143 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/use_unused_api.dart ('k') | pkg/compiler/lib/src/util/command_line.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698