Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Side by Side Diff: pkg/analyzer/lib/src/plugin/engine_plugin.dart

Issue 1977903002: Add support to the task model for the @required annotation (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unused code Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698