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 'common/backend_api.dart' show | 7 import 'common/backend_api.dart' show |
8 Backend; | 8 Backend; |
9 import 'common/tasks.dart' show | 9 import 'common/tasks.dart' show |
10 CompilerTask; | 10 CompilerTask; |
11 import 'compiler.dart' show | 11 import 'compiler.dart' show |
12 Compiler; | 12 Compiler; |
13 import 'constants/values.dart' show | 13 import 'constants/values.dart' show |
14 ConstantValue, | 14 ConstantValue, |
15 ConstructedConstantValue, | 15 ConstructedConstantValue, |
16 DeferredConstantValue, | 16 DeferredConstantValue, |
17 StringConstantValue; | 17 StringConstantValue; |
18 import 'dart_types.dart'; | 18 import 'dart_types.dart'; |
| 19 import 'diagnostics/messages.dart' show |
| 20 MessageKind; |
19 import 'elements/elements.dart' show | 21 import 'elements/elements.dart' show |
20 AccessorElement, | 22 AccessorElement, |
21 AstElement, | 23 AstElement, |
22 ClassElement, | 24 ClassElement, |
23 Element, | 25 Element, |
24 ElementKind, | 26 ElementKind, |
25 Elements, | 27 Elements, |
26 FunctionElement, | 28 FunctionElement, |
27 LibraryElement, | 29 LibraryElement, |
28 MetadataAnnotation, | 30 MetadataAnnotation, |
29 PrefixElement, | 31 PrefixElement, |
30 ScopeContainerElement, | 32 ScopeContainerElement, |
31 TypedefElement, | 33 TypedefElement, |
32 VoidElement; | 34 VoidElement; |
33 import 'js_backend/js_backend.dart' show | 35 import 'js_backend/js_backend.dart' show |
34 JavaScriptBackend; | 36 JavaScriptBackend; |
35 import 'messages.dart' show | |
36 MessageKind; | |
37 import 'resolution/resolution.dart' show | 37 import 'resolution/resolution.dart' show |
38 AnalyzableElementX, | 38 AnalyzableElementX, |
39 TreeElements; | 39 TreeElements; |
40 import 'tree/tree.dart' as ast; | 40 import 'tree/tree.dart' as ast; |
41 import 'tree/tree.dart' show | 41 import 'tree/tree.dart' show |
42 Import, | 42 Import, |
43 LibraryTag, | 43 LibraryTag, |
44 LibraryDependency, | 44 LibraryDependency, |
45 LiteralDartString, | 45 LiteralDartString, |
46 LiteralString, | 46 LiteralString, |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 _importingLibrary = importingLibrary; | 883 _importingLibrary = importingLibrary; |
884 | 884 |
885 String get importingLibraryName { | 885 String get importingLibraryName { |
886 String libraryName = _importingLibrary.getLibraryName(); | 886 String libraryName = _importingLibrary.getLibraryName(); |
887 return libraryName == "" | 887 return libraryName == "" |
888 ? "<unnamed>" | 888 ? "<unnamed>" |
889 : libraryName; | 889 : libraryName; |
890 } | 890 } |
891 | 891 |
892 } | 892 } |
OLD | NEW |