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

Unified Diff: pkg/dart_parser/lib/src/top_level_parser.dart

Issue 2642903003: Update parser and scanner. (Closed)
Patch Set: Created 3 years, 11 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/dart_parser/lib/src/parser.dart ('k') | pkg/dart_parser/test/parser.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dart_parser/lib/src/top_level_parser.dart
diff --git a/pkg/dart_parser/lib/src/top_level_parser.dart b/pkg/dart_parser/lib/src/top_level_parser.dart
index 8eae855c9df3b4880b183ee4c0b4838ae539cd0b..b6509c3d1550b8f416f305b77d4e7df45b247d59 100644
--- a/pkg/dart_parser/lib/src/top_level_parser.dart
+++ b/pkg/dart_parser/lib/src/top_level_parser.dart
@@ -16,11 +16,8 @@ import 'class_member_parser.dart' show
/// Parser which only parses top-level elements, but ignores their bodies.
/// Use [Parser] to parse everything.
class TopLevelParser extends ClassMemberParser {
- TopLevelParser(Listener listener,
- {bool asyncAwaitKeywordsEnabled: false,
- bool enableGenericMethodSyntax: false})
- : super(listener, asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled,
- enableGenericMethodSyntax: enableGenericMethodSyntax);
+ TopLevelParser(Listener listener, {bool asyncAwaitKeywordsEnabled: false})
+ : super(listener, asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled);
Token parseClassBody(Token token) => skipClassBody(token);
}
« no previous file with comments | « pkg/dart_parser/lib/src/parser.dart ('k') | pkg/dart_parser/test/parser.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698