| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 | 6 |
| 7 import 'package:front_end/file_system.dart'; | 7 import 'package:front_end/file_system.dart'; |
| 8 import 'package:front_end/src/base/api_signature.dart'; | 8 import 'package:front_end/src/base/api_signature.dart'; |
| 9 import 'package:front_end/src/base/performace_logger.dart'; | 9 import 'package:front_end/src/base/performace_logger.dart'; |
| 10 import 'package:front_end/src/base/processed_options.dart'; | 10 import 'package:front_end/src/base/processed_options.dart'; |
| 11 import 'package:front_end/src/fasta/compiler_context.dart'; | 11 import 'package:front_end/src/fasta/compiler_context.dart'; |
| 12 import 'package:front_end/src/fasta/dill/dill_library_builder.dart'; | 12 import 'package:front_end/src/fasta/dill/dill_library_builder.dart'; |
| 13 import 'package:front_end/src/fasta/dill/dill_target.dart'; | 13 import 'package:front_end/src/fasta/dill/dill_target.dart'; |
| 14 import 'package:front_end/src/fasta/kernel/kernel_target.dart'; | 14 import 'package:front_end/src/fasta/kernel/kernel_target.dart'; |
| 15 import 'package:front_end/src/fasta/kernel/utils.dart'; | 15 import 'package:front_end/src/fasta/kernel/utils.dart'; |
| 16 import 'package:front_end/src/fasta/ticker.dart'; | 16 import 'package:front_end/src/fasta/ticker.dart'; |
| 17 import 'package:front_end/src/fasta/uri_translator.dart'; | 17 import 'package:front_end/src/fasta/uri_translator.dart'; |
| 18 import 'package:front_end/src/incremental/byte_store.dart'; | 18 import 'package:front_end/src/byte_store/byte_store.dart'; |
| 19 import 'package:front_end/src/incremental/file_state.dart'; | 19 import 'package:front_end/src/incremental/file_state.dart'; |
| 20 import 'package:kernel/binary/ast_from_binary.dart'; | 20 import 'package:kernel/binary/ast_from_binary.dart'; |
| 21 import 'package:kernel/core_types.dart'; | 21 import 'package:kernel/core_types.dart'; |
| 22 import 'package:kernel/kernel.dart' hide Source; | 22 import 'package:kernel/kernel.dart' hide Source; |
| 23 import 'package:kernel/src/incremental_class_hierarchy.dart'; | 23 import 'package:kernel/src/incremental_class_hierarchy.dart'; |
| 24 import 'package:kernel/type_environment.dart'; | 24 import 'package:kernel/type_environment.dart'; |
| 25 import 'package:meta/meta.dart'; | 25 import 'package:meta/meta.dart'; |
| 26 | 26 |
| 27 /// This function is invoked for each newly discovered file, and the returned | 27 /// This function is invoked for each newly discovered file, and the returned |
| 28 /// [Future] is awaited before reading the file content. | 28 /// [Future] is awaited before reading the file content. |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 | 381 |
| 382 LibraryCycleResult(this.cycle, this.signature, this.kernelLibraries); | 382 LibraryCycleResult(this.cycle, this.signature, this.kernelLibraries); |
| 383 } | 383 } |
| 384 | 384 |
| 385 @visibleForTesting | 385 @visibleForTesting |
| 386 class _TestView { | 386 class _TestView { |
| 387 /// The list of [LibraryCycle]s compiled for the last delta. | 387 /// The list of [LibraryCycle]s compiled for the last delta. |
| 388 /// It does not include libraries which were read from the cache. | 388 /// It does not include libraries which were read from the cache. |
| 389 final List<LibraryCycle> compiledCycles = []; | 389 final List<LibraryCycle> compiledCycles = []; |
| 390 } | 390 } |
| OLD | NEW |