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.compiler_base; | 5 library dart2js.compiler_base; |
6 | 6 |
7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
8 | 8 |
9 import '../compiler_new.dart' as api; | 9 import '../compiler_new.dart' as api; |
10 import 'backend_strategy.dart'; | 10 import 'backend_strategy.dart'; |
(...skipping 22 matching lines...) Expand all Loading... |
33 import 'elements/elements.dart'; | 33 import 'elements/elements.dart'; |
34 import 'elements/entities.dart'; | 34 import 'elements/entities.dart'; |
35 import 'elements/resolution_types.dart' show ResolutionDartType, Types; | 35 import 'elements/resolution_types.dart' show ResolutionDartType, Types; |
36 import 'elements/types.dart' show DartTypes; | 36 import 'elements/types.dart' show DartTypes; |
37 import 'enqueue.dart' show Enqueuer, EnqueueTask, ResolutionEnqueuer; | 37 import 'enqueue.dart' show Enqueuer, EnqueueTask, ResolutionEnqueuer; |
38 import 'environment.dart'; | 38 import 'environment.dart'; |
39 import 'frontend_strategy.dart'; | 39 import 'frontend_strategy.dart'; |
40 import 'id_generator.dart'; | 40 import 'id_generator.dart'; |
41 import 'io/source_information.dart' show SourceInformation; | 41 import 'io/source_information.dart' show SourceInformation; |
42 import 'js_backend/backend.dart' show JavaScriptBackend; | 42 import 'js_backend/backend.dart' show JavaScriptBackend; |
| 43 import 'js_backend/element_strategy.dart' show ElementBackendStrategy; |
43 import 'kernel/kernel_strategy.dart'; | 44 import 'kernel/kernel_strategy.dart'; |
44 import 'library_loader.dart' | 45 import 'library_loader.dart' |
45 show | 46 show |
46 ElementScanner, | 47 ElementScanner, |
47 LibraryLoader, | 48 LibraryLoader, |
48 LibraryLoaderTask, | 49 LibraryLoaderTask, |
49 LoadedLibraries, | 50 LoadedLibraries, |
50 ScriptLoader; | 51 ScriptLoader; |
51 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; | 52 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; |
52 import 'null_compiler_output.dart' show NullCompilerOutput, NullSink; | 53 import 'null_compiler_output.dart' show NullCompilerOutput, NullSink; |
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1560 _ElementScanner(this.scanner); | 1561 _ElementScanner(this.scanner); |
1561 void scanLibrary(LibraryElement library) => scanner.scanLibrary(library); | 1562 void scanLibrary(LibraryElement library) => scanner.scanLibrary(library); |
1562 void scanUnit(CompilationUnitElement unit) => scanner.scan(unit); | 1563 void scanUnit(CompilationUnitElement unit) => scanner.scan(unit); |
1563 } | 1564 } |
1564 | 1565 |
1565 class _EmptyEnvironment implements Environment { | 1566 class _EmptyEnvironment implements Environment { |
1566 const _EmptyEnvironment(); | 1567 const _EmptyEnvironment(); |
1567 | 1568 |
1568 String valueOf(String key) => null; | 1569 String valueOf(String key) => null; |
1569 } | 1570 } |
OLD | NEW |