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

Unified Diff: pkg/compiler/lib/src/parser/partial_parser.dart

Issue 1723443003: First step of support for parsing and ignoring generic methods. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fixes bug with nested type arguments Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/parser/partial_elements.dart ('k') | pkg/compiler/lib/src/patch_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/parser/partial_parser.dart
diff --git a/pkg/compiler/lib/src/parser/partial_parser.dart b/pkg/compiler/lib/src/parser/partial_parser.dart
index 1c7722f881d7c82c9baf3f9101a8b717169a071e..84dcce4e7e15cf0d3c9f3413bce9ee0c11220edd 100644
--- a/pkg/compiler/lib/src/parser/partial_parser.dart
+++ b/pkg/compiler/lib/src/parser/partial_parser.dart
@@ -20,9 +20,15 @@ import 'parser.dart' show
Parser;
class PartialParser extends Parser {
- PartialParser(Listener listener, {bool enableConditionalDirectives})
- : super(listener,
- enableConditionalDirectives: enableConditionalDirectives);
+ PartialParser(Listener listener,
+ {bool enableConditionalDirectives: false,
+ bool asyncAwaitKeywordsEnabled: false,
+ bool enableGenericMethods: false})
+ : super(
+ listener,
+ enableConditionalDirectives: enableConditionalDirectives,
+ asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled,
+ enableGenericMethods: enableGenericMethods);
Token parseClassBody(Token token) => skipClassBody(token);
« no previous file with comments | « pkg/compiler/lib/src/parser/partial_elements.dart ('k') | pkg/compiler/lib/src/patch_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698