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

Side by Side Diff: pkg/front_end/lib/src/fasta/source/unhandled_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.unhandled_listener; 5 library fasta.unhandled_listener;
6 6
7 import 'package:front_end/src/fasta/scanner/token.dart' show Token; 7 import '../scanner/token.dart' show Token;
8 8
9 import 'stack_listener.dart' show NullValue, StackListener; 9 import 'stack_listener.dart' show NullValue, StackListener;
10 10
11 export 'stack_listener.dart' show NullValue; 11 export 'stack_listener.dart' show NullValue;
12 12
13 // TODO(ahe): Get rid of this. 13 // TODO(ahe): Get rid of this.
14 enum Unhandled { 14 enum Unhandled {
15 ConditionalUri, 15 ConditionalUri,
16 ConditionalUris, 16 ConditionalUris,
17 DottedName, 17 DottedName,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 push(popList(count) ?? NullValue.Combinators); 67 push(popList(count) ?? NullValue.Combinators);
68 } 68 }
69 69
70 @override 70 @override
71 void endDottedName(int count, Token firstIdentifier) { 71 void endDottedName(int count, Token firstIdentifier) {
72 debugEvent("DottedName"); 72 debugEvent("DottedName");
73 popList(count); 73 popList(count);
74 push(Unhandled.DottedName); 74 push(Unhandled.DottedName);
75 } 75 }
76 } 76 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/stack_listener.dart ('k') | utils/kernel-service/kernel-service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698