| 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 24 matching lines...) Expand all Loading... |
| 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 'io/source_file.dart' show Binary; | 42 import 'io/source_file.dart' show Binary; |
| 43 import 'js_backend/backend.dart' show JavaScriptBackend; | 43 import 'js_backend/backend.dart' show JavaScriptBackend; |
| 44 import 'js_backend/element_strategy.dart' show ElementBackendStrategy; | 44 import 'js_backend/element_strategy.dart' show ElementBackendStrategy; |
| 45 import 'kernel/kernel_backend_strategy.dart'; |
| 45 import 'kernel/kernel_strategy.dart'; | 46 import 'kernel/kernel_strategy.dart'; |
| 46 import 'library_loader.dart' | 47 import 'library_loader.dart' |
| 47 show | 48 show |
| 48 ElementScanner, | 49 ElementScanner, |
| 49 LibraryLoader, | 50 LibraryLoader, |
| 50 LibraryLoaderTask, | 51 LibraryLoaderTask, |
| 51 LoadedLibraries, | 52 LoadedLibraries, |
| 52 ScriptLoader; | 53 ScriptLoader; |
| 53 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; | 54 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; |
| 54 import 'null_compiler_output.dart' show NullCompilerOutput, NullSink; | 55 import 'null_compiler_output.dart' show NullCompilerOutput, NullSink; |
| (...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1574 _ElementScanner(this.scanner); | 1575 _ElementScanner(this.scanner); |
| 1575 void scanLibrary(LibraryElement library) => scanner.scanLibrary(library); | 1576 void scanLibrary(LibraryElement library) => scanner.scanLibrary(library); |
| 1576 void scanUnit(CompilationUnitElement unit) => scanner.scan(unit); | 1577 void scanUnit(CompilationUnitElement unit) => scanner.scan(unit); |
| 1577 } | 1578 } |
| 1578 | 1579 |
| 1579 class _EmptyEnvironment implements Environment { | 1580 class _EmptyEnvironment implements Environment { |
| 1580 const _EmptyEnvironment(); | 1581 const _EmptyEnvironment(); |
| 1581 | 1582 |
| 1582 String valueOf(String key) => null; | 1583 String valueOf(String key) => null; |
| 1583 } | 1584 } |
| OLD | NEW |