| 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; | 9 import '../compiler.dart' show Compiler; |
| 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 CommonElements; | 12 import '../core_types.dart' show CommonElements; |
| 13 import '../dart_types.dart' show DartType, Types; | 13 import '../elements/resolution_types.dart' show DartType, Types; |
| 14 import '../elements/elements.dart' | 14 import '../elements/elements.dart' |
| 15 show | 15 show |
| 16 AstElement, | 16 AstElement, |
| 17 ClassElement, | 17 ClassElement, |
| 18 Element, | 18 Element, |
| 19 ExecutableElement, | 19 ExecutableElement, |
| 20 FunctionElement, | 20 FunctionElement, |
| 21 FunctionSignature, | 21 FunctionSignature, |
| 22 LibraryElement, | 22 LibraryElement, |
| 23 MetadataAnnotation, | 23 MetadataAnnotation, |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 if (cls.isPatch) { | 249 if (cls.isPatch) { |
| 250 patchParser.parsePatchClassNode(cls); | 250 patchParser.parsePatchClassNode(cls); |
| 251 } | 251 } |
| 252 }); | 252 }); |
| 253 } | 253 } |
| 254 | 254 |
| 255 @override | 255 @override |
| 256 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( | 256 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( |
| 257 canUseNative: backend.canLibraryUseNative(element.library)); | 257 canUseNative: backend.canLibraryUseNative(element.library)); |
| 258 } | 258 } |
| OLD | NEW |