OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 deferred_load; | 5 library deferred_load; |
6 | 6 |
7 import 'constants/expressions.dart'; | |
8 import 'constants/values.dart' show | 7 import 'constants/values.dart' show |
9 ConstantValue, | 8 ConstantValue, |
10 ConstructedConstantValue, | 9 ConstructedConstantValue, |
11 DeferredConstantValue, | 10 DeferredConstantValue, |
12 StringConstantValue; | 11 StringConstantValue; |
13 | 12 |
14 import 'dart2jslib.dart' show | 13 import 'dart2jslib.dart' show |
15 Backend, | 14 Backend, |
16 Compiler, | 15 Compiler, |
17 CompilerTask, | 16 CompilerTask, |
18 invariant, | 17 invariant, |
19 MessageKind; | 18 MessageKind; |
20 | 19 |
21 import 'dart_backend/dart_backend.dart' show | |
22 DartBackend; | |
23 | |
24 import 'js_backend/js_backend.dart' show | 20 import 'js_backend/js_backend.dart' show |
25 JavaScriptBackend; | 21 JavaScriptBackend; |
26 | 22 |
27 import 'elements/elements.dart' show | 23 import 'elements/elements.dart' show |
28 AccessorElement, | 24 AccessorElement, |
29 AstElement, | 25 AstElement, |
30 ClassElement, | 26 ClassElement, |
31 Element, | 27 Element, |
32 ElementKind, | 28 ElementKind, |
33 Elements, | 29 Elements, |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 _importingLibrary = importingLibrary; | 884 _importingLibrary = importingLibrary; |
889 | 885 |
890 String get importingLibraryName { | 886 String get importingLibraryName { |
891 String libraryName = _importingLibrary.getLibraryName(); | 887 String libraryName = _importingLibrary.getLibraryName(); |
892 return libraryName == "" | 888 return libraryName == "" |
893 ? "<unnamed>" | 889 ? "<unnamed>" |
894 : libraryName; | 890 : libraryName; |
895 } | 891 } |
896 | 892 |
897 } | 893 } |
OLD | NEW |