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

Side by Side Diff: pkg/compiler/lib/src/parser/class_element_parser.dart

Issue 1864433004: Repeats and fixes the changes landed & reverted as CL 1789553003. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updates to external dependents Created 4 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/options.dart ('k') | pkg/compiler/lib/src/parser/diet_parser_task.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../options.dart' show
13 ParserOptions;
12 import 'partial_parser.dart' show 14 import 'partial_parser.dart' show
13 PartialParser; 15 PartialParser;
14 16
15 class ClassElementParser extends PartialParser { 17 class ClassElementParser extends PartialParser {
16 ClassElementParser(Listener listener) 18 ClassElementParser(Listener listener, ParserOptions options)
17 : super(listener, enableConditionalDirectives: false); 19 : super(listener, options);
18 20
19 Token parseClassBody(Token token) => fullParseClassBody(token); 21 Token parseClassBody(Token token) => fullParseClassBody(token);
20 } 22 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/options.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