OLD | NEW |
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 '../options.dart' show ParserOptions; | |
8 import '../tokens/token.dart' show Token; | 7 import '../tokens/token.dart' show Token; |
9 import 'listener.dart' show Listener; | 8 import 'listener.dart' show Listener; |
10 import 'partial_parser.dart' show PartialParser; | 9 import 'partial_parser.dart' show PartialParser; |
11 | 10 |
12 class ClassElementParser extends PartialParser { | 11 class ClassElementParser extends PartialParser { |
13 ClassElementParser(Listener listener, ParserOptions options) | 12 ClassElementParser(Listener listener): super(listener); |
14 : super(listener, options); | |
15 | 13 |
16 Token parseClassBody(Token token) => fullParseClassBody(token); | 14 Token parseClassBody(Token token) => fullParseClassBody(token); |
17 } | 15 } |
OLD | NEW |