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

Side by Side Diff: pkg/front_end/lib/src/fasta/quote.dart

Issue 2726793003: Remove package imports from itself. (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 fasta.quote; 5 library fasta.quote;
6 6
7 import 'errors.dart' show inputError, internalError; 7 import 'errors.dart' show inputError, internalError;
8 8
9 import 'package:front_end/src/fasta/scanner/characters.dart' 9 import 'scanner/characters.dart'
10 show 10 show
11 $BACKSLASH, 11 $BACKSLASH,
12 $BS, 12 $BS,
13 $CLOSE_CURLY_BRACKET, 13 $CLOSE_CURLY_BRACKET,
14 $CR, 14 $CR,
15 $FF, 15 $FF,
16 $LF, 16 $LF,
17 $OPEN_CURLY_BRACKET, 17 $OPEN_CURLY_BRACKET,
18 $SPACE, 18 $SPACE,
19 $TAB, 19 $TAB,
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 } 230 }
231 } else { 231 } else {
232 // Nothing, escaped character is passed through; 232 // Nothing, escaped character is passed through;
233 } 233 }
234 if (code > 0x10FFFF) return error(i, invalidCodePoint); 234 if (code > 0x10FFFF) return error(i, invalidCodePoint);
235 } 235 }
236 result[resultOffset++] = code; 236 result[resultOffset++] = code;
237 } 237 }
238 return new String.fromCharCodes(result, 0, resultOffset); 238 return new String.fromCharCodes(result, 0, resultOffset);
239 } 239 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser/top_level_parser.dart ('k') | pkg/front_end/lib/src/fasta/scanner/array_based_scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698