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

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: 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/dart2js.dart ('k') | pkg/compiler/lib/src/parser/diet_parser_task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b2b2b72e1a3437721463c5281400e4f5c3b83649 100644
--- a/pkg/compiler/lib/src/parser/class_element_parser.dart
+++ b/pkg/compiler/lib/src/parser/class_element_parser.dart
@@ -6,15 +6,20 @@ library dart2js.parser.classes;
import '../tokens/token.dart' show
Token;
-
+import 'element_listener.dart' show
+ ParserOptions;
import 'listener.dart' show
Listener;
import 'partial_parser.dart' show
PartialParser;
class ClassElementParser extends PartialParser {
- ClassElementParser(Listener listener)
- : super(listener, enableConditionalDirectives: false);
+ ClassElementParser(Listener listener, ParserOptions parserOptions)
+ : super(
+ listener,
+ enableConditionalDirectives:
+ parserOptions.enableConditionalDirectives,
+ enableGenericMethods: parserOptions.enableGenericMethods);
Token parseClassBody(Token token) => fullParseClassBody(token);
}
« no previous file with comments | « pkg/compiler/lib/src/dart2js.dart ('k') | pkg/compiler/lib/src/parser/diet_parser_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698