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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.parser.classes; 5 library dart2js.parser.classes;
6 6
7 import '../tokens/token.dart' show 7 import '../tokens/token.dart' show
8 Token; 8 Token;
9 9
10 import 'listener.dart' show 10 import 'listener.dart' show
11 Listener; 11 Listener;
12 import 'partial_parser.dart' show 12 import 'partial_parser.dart' show
13 PartialParser; 13 PartialParser;
14 14
15 class ClassElementParser extends PartialParser { 15 class ClassElementParser extends PartialParser {
16 ClassElementParser(Listener listener) 16 ClassElementParser(Listener listener,
17 : super(listener, enableConditionalDirectives: false); 17 {bool enableConditionalDirectives: false,
18 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'.
19 : super(
20 listener,
21 enableConditionalDirectives: enableConditionalDirectives,
22 enableGenericMethods: enableGenericMethods);
18 23
19 Token parseClassBody(Token token) => fullParseClassBody(token); 24 Token parseClassBody(Token token) => fullParseClassBody(token);
20 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698