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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // | 184 // |
185 // Register Dart tasks. | 185 // Register Dart tasks. |
186 // | 186 // |
187 registerExtension(taskId, BuildCompilationUnitElementTask.DESCRIPTOR); | 187 registerExtension(taskId, BuildCompilationUnitElementTask.DESCRIPTOR); |
188 registerExtension(taskId, BuildDirectiveElementsTask.DESCRIPTOR); | 188 registerExtension(taskId, BuildDirectiveElementsTask.DESCRIPTOR); |
189 registerExtension(taskId, BuildEnumMemberElementsTask.DESCRIPTOR); | 189 registerExtension(taskId, BuildEnumMemberElementsTask.DESCRIPTOR); |
190 registerExtension(taskId, BuildExportNamespaceTask.DESCRIPTOR); | 190 registerExtension(taskId, BuildExportNamespaceTask.DESCRIPTOR); |
191 registerExtension(taskId, BuildLibraryElementTask.DESCRIPTOR); | 191 registerExtension(taskId, BuildLibraryElementTask.DESCRIPTOR); |
192 registerExtension(taskId, BuildPublicNamespaceTask.DESCRIPTOR); | 192 registerExtension(taskId, BuildPublicNamespaceTask.DESCRIPTOR); |
193 registerExtension(taskId, BuildSourceExportClosureTask.DESCRIPTOR); | 193 registerExtension(taskId, BuildSourceExportClosureTask.DESCRIPTOR); |
194 registerExtension(taskId, BuildSourceImportExportClosureTask.DESCRIPTOR); | |
195 registerExtension(taskId, BuildTypeProviderTask.DESCRIPTOR); | 194 registerExtension(taskId, BuildTypeProviderTask.DESCRIPTOR); |
196 registerExtension(taskId, ComputeConstantDependenciesTask.DESCRIPTOR); | 195 registerExtension(taskId, ComputeConstantDependenciesTask.DESCRIPTOR); |
197 registerExtension(taskId, ComputeConstantValueTask.DESCRIPTOR); | 196 registerExtension(taskId, ComputeConstantValueTask.DESCRIPTOR); |
198 registerExtension( | 197 registerExtension( |
199 taskId, ComputeInferableStaticVariableDependenciesTask.DESCRIPTOR); | 198 taskId, ComputeInferableStaticVariableDependenciesTask.DESCRIPTOR); |
200 registerExtension(taskId, ComputeLibraryCycleTask.DESCRIPTOR); | 199 registerExtension(taskId, ComputeLibraryCycleTask.DESCRIPTOR); |
201 registerExtension(taskId, ContainingLibrariesTask.DESCRIPTOR); | 200 registerExtension(taskId, ContainingLibrariesTask.DESCRIPTOR); |
202 registerExtension(taskId, DartErrorsTask.DESCRIPTOR); | 201 registerExtension(taskId, DartErrorsTask.DESCRIPTOR); |
203 registerExtension(taskId, EvaluateUnitConstantsTask.DESCRIPTOR); | 202 registerExtension(taskId, EvaluateUnitConstantsTask.DESCRIPTOR); |
204 registerExtension(taskId, GatherUsedImportedElementsTask.DESCRIPTOR); | 203 registerExtension(taskId, GatherUsedImportedElementsTask.DESCRIPTOR); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 * passed to the extension manager to populate it. | 286 * passed to the extension manager to populate it. |
288 * | 287 * |
289 * This annotation is not used at runtime; it is used to aid in static analysis | 288 * This annotation is not used at runtime; it is used to aid in static analysis |
290 * of the task model during development. | 289 * of the task model during development. |
291 */ | 290 */ |
292 class ExtensionPointId { | 291 class ExtensionPointId { |
293 final String extensionPointId; | 292 final String extensionPointId; |
294 | 293 |
295 const ExtensionPointId(this.extensionPointId); | 294 const ExtensionPointId(this.extensionPointId); |
296 } | 295 } |
OLD | NEW |