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