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

Side by Side Diff: packages/analyzer/lib/plugin/task.dart

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 4 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 /** 5 /**
6 * Support for client code that extends the analysis engine by adding new 6 * Support for client code that extends the analysis engine by adding new
7 * analysis tasks. 7 * analysis tasks.
8 */ 8 */
9 library analyzer.plugin.task; 9 library analyzer.plugin.task;
10 10
11 import 'package:analyzer/src/generated/engine.dart' hide WorkManager; 11 import 'package:analyzer/src/generated/engine.dart';
12 import 'package:analyzer/src/plugin/engine_plugin.dart'; 12 import 'package:analyzer/src/plugin/engine_plugin.dart';
13 import 'package:analyzer/task/model.dart'; 13 import 'package:analyzer/task/model.dart';
14 import 'package:plugin/plugin.dart'; 14 import 'package:plugin/plugin.dart';
15 15
16 /** 16 /**
17 * The identifier of the extension point that allows plugins to register new 17 * The identifier of the extension point that allows plugins to register new
18 * analysis error results to compute for a Dart source. The object used as an 18 * analysis error results to compute for a Dart source. The object used as an
19 * extension must be a [ResultDescriptor]. 19 * extension must be a [ResultDescriptor].
20 */ 20 */
21 final String DART_ERRORS_FOR_SOURCE_EXTENSION_POINT_ID = Plugin.join( 21 final String DART_ERRORS_FOR_SOURCE_EXTENSION_POINT_ID = Plugin.join(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 * be a [WorkManagerFactory]. 59 * be a [WorkManagerFactory].
60 */ 60 */
61 final String WORK_MANAGER_EXTENSION_POINT_ID = Plugin.join( 61 final String WORK_MANAGER_EXTENSION_POINT_ID = Plugin.join(
62 EnginePlugin.UNIQUE_IDENTIFIER, 62 EnginePlugin.UNIQUE_IDENTIFIER,
63 EnginePlugin.WORK_MANAGER_FACTORY_EXTENSION_POINT); 63 EnginePlugin.WORK_MANAGER_FACTORY_EXTENSION_POINT);
64 64
65 /** 65 /**
66 * A function that will create a new [WorkManager] for the given [context]. 66 * A function that will create a new [WorkManager] for the given [context].
67 */ 67 */
68 typedef WorkManager WorkManagerFactory(InternalAnalysisContext context); 68 typedef WorkManager WorkManagerFactory(InternalAnalysisContext context);
OLDNEW
« no previous file with comments | « packages/analyzer/lib/plugin/resolver_provider.dart ('k') | packages/analyzer/lib/source/analysis_options_provider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698