OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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.common.resolution; | 5 library dart2js.common.resolution; |
6 | 6 |
7 import '../common.dart'; | 7 import '../common.dart'; |
8 import '../compile_time_constants.dart'; | 8 import '../compile_time_constants.dart'; |
9 import '../compiler.dart' show Compiler; | |
10 import '../constants/expressions.dart' show ConstantExpression; | 9 import '../constants/expressions.dart' show ConstantExpression; |
11 import '../constants/values.dart' show ConstantValue; | 10 import '../constants/values.dart' show ConstantValue; |
12 import '../core_types.dart' show CommonElements; | 11 import '../core_types.dart' show CommonElements; |
13 import '../elements/resolution_types.dart' show ResolutionDartType, Types; | 12 import '../elements/resolution_types.dart' show ResolutionDartType, Types; |
14 import '../elements/elements.dart' | 13 import '../elements/elements.dart' |
15 show | 14 show |
16 AstElement, | 15 AstElement, |
17 ClassElement, | 16 ClassElement, |
18 Element, | 17 Element, |
19 Entity, | 18 Entity, |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 if (cls.isPatch) { | 250 if (cls.isPatch) { |
252 patchParser.parsePatchClassNode(cls); | 251 patchParser.parsePatchClassNode(cls); |
253 } | 252 } |
254 }); | 253 }); |
255 } | 254 } |
256 | 255 |
257 @override | 256 @override |
258 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( | 257 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( |
259 canUseNative: backend.canLibraryUseNative(element.library)); | 258 canUseNative: backend.canLibraryUseNative(element.library)); |
260 } | 259 } |
OLD | NEW |