| 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 '../compiler.dart' show Compiler; | 9 import '../compiler.dart' show Compiler; |
| 9 import '../compile_time_constants.dart'; | |
| 10 import '../constants/expressions.dart' show ConstantExpression; | 10 import '../constants/expressions.dart' show ConstantExpression; |
| 11 import '../constants/values.dart' show ConstantValue; | 11 import '../constants/values.dart' show ConstantValue; |
| 12 import '../core_types.dart' show CoreClasses, CoreTypes; | 12 import '../core_types.dart' show CoreClasses, CoreTypes; |
| 13 import '../dart_types.dart' show DartType, InterfaceType, Types; | 13 import '../dart_types.dart' show DartType, InterfaceType, Types; |
| 14 import '../elements/elements.dart' | 14 import '../elements/elements.dart' |
| 15 show | 15 show |
| 16 AstElement, | 16 AstElement, |
| 17 ClassElement, | 17 ClassElement, |
| 18 ConstructorElement, | 18 ConstructorElement, |
| 19 Element, | 19 Element, |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 if (cls.isPatch) { | 384 if (cls.isPatch) { |
| 385 patchParser.parsePatchClassNode(cls); | 385 patchParser.parsePatchClassNode(cls); |
| 386 } | 386 } |
| 387 }); | 387 }); |
| 388 } | 388 } |
| 389 | 389 |
| 390 @override | 390 @override |
| 391 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( | 391 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( |
| 392 canUseNative: backend.canLibraryUseNative(element.library)); | 392 canUseNative: backend.canLibraryUseNative(element.library)); |
| 393 } | 393 } |
| OLD | NEW |