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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(taskId, ComputeRequiredConstantsTask.DESCRIPTOR); |
208 registerExtension( | |
209 taskId, ComputePropagableVariableDependenciesTask.DESCRIPTOR); | |
210 registerExtension(taskId, ContainingLibrariesTask.DESCRIPTOR); | 208 registerExtension(taskId, ContainingLibrariesTask.DESCRIPTOR); |
211 registerExtension(taskId, DartErrorsTask.DESCRIPTOR); | 209 registerExtension(taskId, DartErrorsTask.DESCRIPTOR); |
212 registerExtension(taskId, EvaluateUnitConstantsTask.DESCRIPTOR); | 210 registerExtension(taskId, EvaluateUnitConstantsTask.DESCRIPTOR); |
213 registerExtension(taskId, GatherUsedImportedElementsTask.DESCRIPTOR); | 211 registerExtension(taskId, GatherUsedImportedElementsTask.DESCRIPTOR); |
214 registerExtension(taskId, GatherUsedLocalElementsTask.DESCRIPTOR); | 212 registerExtension(taskId, GatherUsedLocalElementsTask.DESCRIPTOR); |
215 registerExtension(taskId, GenerateHintsTask.DESCRIPTOR); | 213 registerExtension(taskId, GenerateHintsTask.DESCRIPTOR); |
216 registerExtension(taskId, GenerateLintsTask.DESCRIPTOR); | 214 registerExtension(taskId, GenerateLintsTask.DESCRIPTOR); |
217 registerExtension(taskId, InferInstanceMembersInUnitTask.DESCRIPTOR); | 215 registerExtension(taskId, InferInstanceMembersInUnitTask.DESCRIPTOR); |
218 registerExtension(taskId, InferStaticVariableTypesInUnitTask.DESCRIPTOR); | 216 registerExtension(taskId, InferStaticVariableTypesInUnitTask.DESCRIPTOR); |
219 registerExtension(taskId, InferStaticVariableTypeTask.DESCRIPTOR); | 217 registerExtension(taskId, InferStaticVariableTypeTask.DESCRIPTOR); |
220 registerExtension(taskId, LibraryErrorsReadyTask.DESCRIPTOR); | 218 registerExtension(taskId, LibraryErrorsReadyTask.DESCRIPTOR); |
221 registerExtension(taskId, LibraryUnitErrorsTask.DESCRIPTOR); | 219 registerExtension(taskId, LibraryUnitErrorsTask.DESCRIPTOR); |
222 registerExtension(taskId, ParseDartTask.DESCRIPTOR); | 220 registerExtension(taskId, ParseDartTask.DESCRIPTOR); |
223 registerExtension(taskId, PartiallyResolveUnitReferencesTask.DESCRIPTOR); | 221 registerExtension(taskId, PartiallyResolveUnitReferencesTask.DESCRIPTOR); |
224 registerExtension( | |
225 taskId, PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR); | |
226 registerExtension(taskId, PropagateVariableTypesInLibraryTask.DESCRIPTOR); | |
227 registerExtension(taskId, PropagateVariableTypesInUnitTask.DESCRIPTOR); | |
228 registerExtension(taskId, PropagateVariableTypeTask.DESCRIPTOR); | |
229 registerExtension(taskId, ReadyLibraryElement2Task.DESCRIPTOR); | 222 registerExtension(taskId, ReadyLibraryElement2Task.DESCRIPTOR); |
230 registerExtension(taskId, ReadyLibraryElement5Task.DESCRIPTOR); | 223 registerExtension(taskId, ReadyLibraryElement5Task.DESCRIPTOR); |
231 registerExtension(taskId, ReadyLibraryElement6Task.DESCRIPTOR); | 224 registerExtension(taskId, ReadyLibraryElement7Task.DESCRIPTOR); |
232 registerExtension(taskId, ReadyResolvedUnitTask.DESCRIPTOR); | 225 registerExtension(taskId, ReadyResolvedUnitTask.DESCRIPTOR); |
233 registerExtension(taskId, ResolveConstantExpressionTask.DESCRIPTOR); | 226 registerExtension(taskId, ResolveConstantExpressionTask.DESCRIPTOR); |
234 registerExtension(taskId, ResolveDirectiveElementsTask.DESCRIPTOR); | 227 registerExtension(taskId, ResolveDirectiveElementsTask.DESCRIPTOR); |
| 228 registerExtension(taskId, ResolvedUnit7InLibraryClosureTask.DESCRIPTOR); |
| 229 registerExtension(taskId, ResolvedUnit7InLibraryTask.DESCRIPTOR); |
235 registerExtension(taskId, ResolveInstanceFieldsInUnitTask.DESCRIPTOR); | 230 registerExtension(taskId, ResolveInstanceFieldsInUnitTask.DESCRIPTOR); |
236 registerExtension(taskId, ResolveLibraryReferencesTask.DESCRIPTOR); | 231 registerExtension(taskId, ResolveLibraryReferencesTask.DESCRIPTOR); |
237 registerExtension(taskId, ResolveLibraryTask.DESCRIPTOR); | 232 registerExtension(taskId, ResolveLibraryTask.DESCRIPTOR); |
238 registerExtension(taskId, ResolveLibraryTypeNamesTask.DESCRIPTOR); | 233 registerExtension(taskId, ResolveLibraryTypeNamesTask.DESCRIPTOR); |
239 registerExtension(taskId, ResolveTopLevelLibraryTypeBoundsTask.DESCRIPTOR); | 234 registerExtension(taskId, ResolveTopLevelLibraryTypeBoundsTask.DESCRIPTOR); |
240 registerExtension(taskId, ResolveTopLevelUnitTypeBoundsTask.DESCRIPTOR); | 235 registerExtension(taskId, ResolveTopLevelUnitTypeBoundsTask.DESCRIPTOR); |
241 registerExtension(taskId, ResolveUnitTask.DESCRIPTOR); | 236 registerExtension(taskId, ResolveUnitTask.DESCRIPTOR); |
242 registerExtension(taskId, ResolveUnitTypeNamesTask.DESCRIPTOR); | 237 registerExtension(taskId, ResolveUnitTypeNamesTask.DESCRIPTOR); |
243 registerExtension(taskId, ResolveVariableReferencesTask.DESCRIPTOR); | 238 registerExtension(taskId, ResolveVariableReferencesTask.DESCRIPTOR); |
244 registerExtension(taskId, ScanDartTask.DESCRIPTOR); | 239 registerExtension(taskId, ScanDartTask.DESCRIPTOR); |
(...skipping 29 matching lines...) Expand all Loading... |
274 * passed to the extension manager to populate it. | 269 * passed to the extension manager to populate it. |
275 * | 270 * |
276 * This annotation is not used at runtime; it is used to aid in static analysis | 271 * This annotation is not used at runtime; it is used to aid in static analysis |
277 * of the task model during development. | 272 * of the task model during development. |
278 */ | 273 */ |
279 class ExtensionPointId { | 274 class ExtensionPointId { |
280 final String extensionPointId; | 275 final String extensionPointId; |
281 | 276 |
282 const ExtensionPointId(this.extensionPointId); | 277 const ExtensionPointId(this.extensionPointId); |
283 } | 278 } |
OLD | NEW |