| 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 analyzer.src.generated.engine; | 5 library analyzer.src.generated.engine; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 | 9 |
| 10 import 'package:analyzer/dart/element/element.dart'; | 10 import 'package:analyzer/dart/element/element.dart'; |
| 11 import 'package:analyzer/instrumentation/instrumentation.dart'; | 11 import 'package:analyzer/instrumentation/instrumentation.dart'; |
| 12 import 'package:analyzer/source/embedder.dart'; | 12 import 'package:analyzer/source/embedder.dart'; |
| 13 import 'package:analyzer/src/cancelable_future.dart'; | 13 import 'package:analyzer/src/cancelable_future.dart'; |
| 14 import 'package:analyzer/src/context/cache.dart'; | 14 import 'package:analyzer/src/context/cache.dart'; |
| 15 import 'package:analyzer/src/context/context.dart'; | 15 import 'package:analyzer/src/context/context.dart'; |
| 16 import 'package:analyzer/src/generated/ast.dart'; | 16 import 'package:analyzer/src/generated/ast.dart'; |
| 17 import 'package:analyzer/src/generated/constant.dart'; | 17 import 'package:analyzer/src/generated/constant.dart'; |
| 18 import 'package:analyzer/src/generated/error.dart'; | 18 import 'package:analyzer/src/generated/error.dart'; |
| 19 import 'package:analyzer/src/generated/java_core.dart'; | 19 import 'package:analyzer/src/generated/java_core.dart'; |
| 20 import 'package:analyzer/src/generated/java_engine.dart'; | 20 import 'package:analyzer/src/generated/java_engine.dart'; |
| 21 import 'package:analyzer/src/generated/resolver.dart'; | 21 import 'package:analyzer/src/generated/resolver.dart'; |
| 22 import 'package:analyzer/src/generated/source.dart'; | 22 import 'package:analyzer/src/generated/source.dart'; |
| 23 import 'package:analyzer/src/generated/utilities_general.dart'; | 23 import 'package:analyzer/src/generated/utilities_general.dart'; |
| 24 import 'package:analyzer/src/plugin/command_line_plugin.dart'; | 24 import 'package:analyzer/src/plugin/command_line_plugin.dart'; |
| 25 import 'package:analyzer/src/plugin/engine_plugin.dart'; | 25 import 'package:analyzer/src/plugin/engine_plugin.dart'; |
| 26 import 'package:analyzer/src/plugin/options_plugin.dart'; | 26 import 'package:analyzer/src/plugin/options_plugin.dart'; |
| 27 import 'package:analyzer/src/summary/resynthesize.dart'; |
| 27 import 'package:analyzer/src/task/manager.dart'; | 28 import 'package:analyzer/src/task/manager.dart'; |
| 28 import 'package:analyzer/task/dart.dart'; | 29 import 'package:analyzer/task/dart.dart'; |
| 29 import 'package:analyzer/task/model.dart'; | 30 import 'package:analyzer/task/model.dart'; |
| 30 import 'package:html/dom.dart' show Document; | 31 import 'package:html/dom.dart' show Document; |
| 31 import 'package:path/path.dart' as pathos; | 32 import 'package:path/path.dart' as pathos; |
| 32 import 'package:plugin/manager.dart'; | 33 import 'package:plugin/manager.dart'; |
| 33 import 'package:plugin/plugin.dart'; | 34 import 'package:plugin/plugin.dart'; |
| 34 | 35 |
| 35 /** | 36 /** |
| 36 * Used by [AnalysisOptions] to allow function bodies to be analyzed in some | 37 * Used by [AnalysisOptions] to allow function bodies to be analyzed in some |
| (...skipping 1844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1881 */ | 1882 */ |
| 1882 List<AnalysisTarget> get priorityTargets; | 1883 List<AnalysisTarget> get priorityTargets; |
| 1883 | 1884 |
| 1884 /** | 1885 /** |
| 1885 * The partition that contains analysis results that are not shared with other | 1886 * The partition that contains analysis results that are not shared with other |
| 1886 * contexts. | 1887 * contexts. |
| 1887 */ | 1888 */ |
| 1888 CachePartition get privateAnalysisCachePartition; | 1889 CachePartition get privateAnalysisCachePartition; |
| 1889 | 1890 |
| 1890 /** | 1891 /** |
| 1892 * The helper for [aboutToComputeResult]. |
| 1893 */ |
| 1894 AboutToComputeResultHelper aboutToComputeResultHelper; |
| 1895 |
| 1896 /** |
| 1891 * Sets the [TypeProvider] for this context. | 1897 * Sets the [TypeProvider] for this context. |
| 1892 */ | 1898 */ |
| 1893 void set typeProvider(TypeProvider typeProvider); | 1899 void set typeProvider(TypeProvider typeProvider); |
| 1894 | 1900 |
| 1895 /** | 1901 /** |
| 1896 * A list of all [WorkManager]s used by this context. | 1902 * A list of all [WorkManager]s used by this context. |
| 1897 */ | 1903 */ |
| 1898 List<WorkManager> get workManagers; | 1904 List<WorkManager> get workManagers; |
| 1899 | 1905 |
| 1900 /** | 1906 /** |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2424 * The data that was created from the source. | 2430 * The data that was created from the source. |
| 2425 */ | 2431 */ |
| 2426 final E data; | 2432 final E data; |
| 2427 | 2433 |
| 2428 /** | 2434 /** |
| 2429 * Initialize a newly created holder to associate the given [data] with the | 2435 * Initialize a newly created holder to associate the given [data] with the |
| 2430 * given [modificationTime]. | 2436 * given [modificationTime]. |
| 2431 */ | 2437 */ |
| 2432 TimestampedData(this.modificationTime, this.data); | 2438 TimestampedData(this.modificationTime, this.data); |
| 2433 } | 2439 } |
| OLD | NEW |