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

Unified Diff: pkg/compiler/lib/src/parser/class_element_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: Moved text from description to dartdoc Created 4 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
Index: pkg/compiler/lib/src/parser/class_element_parser.dart
diff --git a/pkg/compiler/lib/src/parser/class_element_parser.dart b/pkg/compiler/lib/src/parser/class_element_parser.dart
index 319cba59c96049d927c23a41b0eb629a93c6bb7d..e5f41ac40d016250f4f25ae506b5914113126db0 100644
--- a/pkg/compiler/lib/src/parser/class_element_parser.dart
+++ b/pkg/compiler/lib/src/parser/class_element_parser.dart
@@ -13,8 +13,13 @@ import 'partial_parser.dart' show
PartialParser;
class ClassElementParser extends PartialParser {
- ClassElementParser(Listener listener)
- : super(listener, enableConditionalDirectives: false);
+ ClassElementParser(Listener listener,
+ {bool enableConditionalDirectives: false,
+ bool enableGenericMethods: false})
Johnni Winther 2016/02/29 10:18:45 Replace with one [ParserOptions] argument.
eernst 2016/03/09 16:28:13 Done: Same treatment as in 'compiler.dart'.
+ : super(
+ listener,
+ enableConditionalDirectives: enableConditionalDirectives,
+ enableGenericMethods: enableGenericMethods);
Token parseClassBody(Token token) => fullParseClassBody(token);
}

Powered by Google App Engine
This is Rietveld 408576698