| 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 '../dart_types.dart' show DartType, Types; | 12 import '../dart_types.dart' show DartType, 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 ExecutableElement, | 18 ExecutableElement, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 if (cls.isPatch) { | 248 if (cls.isPatch) { |
| 250 patchParser.parsePatchClassNode(cls); | 249 patchParser.parsePatchClassNode(cls); |
| 251 } | 250 } |
| 252 }); | 251 }); |
| 253 } | 252 } |
| 254 | 253 |
| 255 @override | 254 @override |
| 256 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( | 255 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( |
| 257 canUseNative: backend.canLibraryUseNative(element.library)); | 256 canUseNative: backend.canLibraryUseNative(element.library)); |
| 258 } | 257 } |
| OLD | NEW |