OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.plugin.engine_plugin; | 5 library analyzer.src.plugin.engine_plugin; |
6 | 6 |
7 import 'package:analyzer/plugin/task.dart'; | 7 import 'package:analyzer/plugin/task.dart'; |
8 import 'package:analyzer/src/generated/engine.dart' | 8 import 'package:analyzer/src/generated/engine.dart' |
9 show InternalAnalysisContext; | 9 show InternalAnalysisContext; |
10 import 'package:analyzer/src/generated/error.dart' show AnalysisError; | 10 import 'package:analyzer/src/generated/error.dart' show AnalysisError; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 registerExtension(taskId, BuildExportNamespaceTask.DESCRIPTOR); | 197 registerExtension(taskId, BuildExportNamespaceTask.DESCRIPTOR); |
198 registerExtension(taskId, BuildLibraryElementTask.DESCRIPTOR); | 198 registerExtension(taskId, BuildLibraryElementTask.DESCRIPTOR); |
199 registerExtension(taskId, BuildPublicNamespaceTask.DESCRIPTOR); | 199 registerExtension(taskId, BuildPublicNamespaceTask.DESCRIPTOR); |
200 registerExtension(taskId, BuildSourceExportClosureTask.DESCRIPTOR); | 200 registerExtension(taskId, BuildSourceExportClosureTask.DESCRIPTOR); |
201 registerExtension(taskId, BuildTypeProviderTask.DESCRIPTOR); | 201 registerExtension(taskId, BuildTypeProviderTask.DESCRIPTOR); |
202 registerExtension(taskId, ComputeConstantDependenciesTask.DESCRIPTOR); | 202 registerExtension(taskId, ComputeConstantDependenciesTask.DESCRIPTOR); |
203 registerExtension(taskId, ComputeConstantValueTask.DESCRIPTOR); | 203 registerExtension(taskId, ComputeConstantValueTask.DESCRIPTOR); |
204 registerExtension( | 204 registerExtension( |
205 taskId, ComputeInferableStaticVariableDependenciesTask.DESCRIPTOR); | 205 taskId, ComputeInferableStaticVariableDependenciesTask.DESCRIPTOR); |
206 registerExtension(taskId, ComputeLibraryCycleTask.DESCRIPTOR); | 206 registerExtension(taskId, ComputeLibraryCycleTask.DESCRIPTOR); |
| 207 registerExtension(taskId, ComputeRequiredConstantsTask.DESCRIPTOR); |
207 registerExtension( | 208 registerExtension( |
208 taskId, ComputePropagableVariableDependenciesTask.DESCRIPTOR); | 209 taskId, ComputePropagableVariableDependenciesTask.DESCRIPTOR); |
209 registerExtension(taskId, ContainingLibrariesTask.DESCRIPTOR); | 210 registerExtension(taskId, ContainingLibrariesTask.DESCRIPTOR); |
210 registerExtension(taskId, DartErrorsTask.DESCRIPTOR); | 211 registerExtension(taskId, DartErrorsTask.DESCRIPTOR); |
211 registerExtension(taskId, EvaluateUnitConstantsTask.DESCRIPTOR); | 212 registerExtension(taskId, EvaluateUnitConstantsTask.DESCRIPTOR); |
212 registerExtension(taskId, GatherUsedImportedElementsTask.DESCRIPTOR); | 213 registerExtension(taskId, GatherUsedImportedElementsTask.DESCRIPTOR); |
213 registerExtension(taskId, GatherUsedLocalElementsTask.DESCRIPTOR); | 214 registerExtension(taskId, GatherUsedLocalElementsTask.DESCRIPTOR); |
214 registerExtension(taskId, GenerateHintsTask.DESCRIPTOR); | 215 registerExtension(taskId, GenerateHintsTask.DESCRIPTOR); |
215 registerExtension(taskId, GenerateLintsTask.DESCRIPTOR); | 216 registerExtension(taskId, GenerateLintsTask.DESCRIPTOR); |
216 registerExtension(taskId, InferInstanceMembersInUnitTask.DESCRIPTOR); | 217 registerExtension(taskId, InferInstanceMembersInUnitTask.DESCRIPTOR); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 * passed to the extension manager to populate it. | 274 * passed to the extension manager to populate it. |
274 * | 275 * |
275 * This annotation is not used at runtime; it is used to aid in static analysis | 276 * This annotation is not used at runtime; it is used to aid in static analysis |
276 * of the task model during development. | 277 * of the task model during development. |
277 */ | 278 */ |
278 class ExtensionPointId { | 279 class ExtensionPointId { |
279 final String extensionPointId; | 280 final String extensionPointId; |
280 | 281 |
281 const ExtensionPointId(this.extensionPointId); | 282 const ExtensionPointId(this.extensionPointId); |
282 } | 283 } |
OLD | NEW |