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

Unified Diff: pkg/front_end/lib/src/fasta/source/stack_listener.dart

Issue 2691423007: Add AstBuilder support for import and export directives. (Closed)
Patch Set: Move comment Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser/listener.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/source/stack_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/source/stack_listener.dart b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
index 0601d26c0bd4d3d380d55d9955e21089f3dceaae..08f206920ffb597fd329a985062caefe3a0148ae 100644
--- a/pkg/front_end/lib/src/fasta/source/stack_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
@@ -4,26 +4,17 @@
library fasta.stack_listener;
-import 'dart:collection' show
- Queue;
+import 'dart:collection' show Queue;
-import 'package:front_end/src/fasta/parser.dart' show
- ErrorKind,
- Listener;
+import 'package:front_end/src/fasta/parser.dart' show ErrorKind, Listener;
-import 'package:front_end/src/fasta/scanner.dart' show
- BeginGroupToken,
- Token;
+import 'package:front_end/src/fasta/scanner.dart' show BeginGroupToken, Token;
-import 'package:kernel/ast.dart' show
- AsyncMarker;
+import 'package:kernel/ast.dart' show AsyncMarker;
-import '../errors.dart' show
- inputError,
- internalError;
+import '../errors.dart' show inputError, internalError;
-import '../quote.dart' show
- unescapeString;
+import '../quote.dart' show unescapeString;
enum NullValue {
Arguments,
@@ -31,6 +22,7 @@ enum NullValue {
BreakTarget,
CascadeReceiver,
Combinators,
+ ConditionalUris,
ContinueTarget,
Expression,
FieldInitializer,
@@ -136,8 +128,7 @@ abstract class StackListener extends Listener {
}
if (recoverableErrors.isNotEmpty) {
// TODO(ahe): Handle recoverable errors better.
- inputError(uri, recoverableErrors.first.beginOffset,
- recoverableErrors);
+ inputError(uri, recoverableErrors.first.beginOffset, recoverableErrors);
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser/listener.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698