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

Side by Side Diff: pkg/front_end/lib/src/fasta/source/stack_listener.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.stack_listener; 5 library fasta.stack_listener;
6 6
7 import 'package:front_end/src/fasta/parser.dart' show ErrorKind, Listener; 7 import '../parser.dart' show ErrorKind, Listener;
8 8
9 import 'package:front_end/src/fasta/parser/identifier_context.dart' 9 import '../parser/identifier_context.dart' show IdentifierContext;
10 show IdentifierContext;
11 10
12 import 'package:front_end/src/fasta/scanner.dart' show BeginGroupToken, Token; 11 import '../scanner.dart' show BeginGroupToken, Token;
13 12
14 import 'package:kernel/ast.dart' show AsyncMarker; 13 import 'package:kernel/ast.dart' show AsyncMarker;
15 14
16 import '../errors.dart' show inputError, internalError; 15 import '../errors.dart' show inputError, internalError;
17 16
18 import '../quote.dart' show unescapeString; 17 import '../quote.dart' show unescapeString;
19 18
20 import '../messages.dart' as messages; 19 import '../messages.dart' as messages;
21 20
22 enum NullValue { 21 enum NullValue {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 list.setRange(0, arrayLength, array); 284 list.setRange(0, arrayLength, array);
286 return list; 285 return list;
287 } 286 }
288 287
289 void _grow() { 288 void _grow() {
290 final List newTable = new List(array.length * 2); 289 final List newTable = new List(array.length * 2);
291 newTable.setRange(0, array.length, array, 0); 290 newTable.setRange(0, array.length, array, 0);
292 array = newTable; 291 array = newTable;
293 } 292 }
294 } 293 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/source_loader.dart ('k') | pkg/front_end/lib/src/fasta/source/unhandled_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698