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

Side by Side Diff: mojo/public/dart/third_party/analyzer/lib/plugin/task.dart

Issue 1346773002: Stop running pub get at gclient sync time and fix build bugs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 /**
6 * Support for client code that extends the analysis engine by adding new
7 * analysis tasks.
8 */
9 library analyzer.plugin.task;
10
11 import 'package:analyzer/src/generated/engine.dart' hide WorkManager;
12 import 'package:analyzer/src/plugin/engine_plugin.dart';
13 import 'package:analyzer/task/model.dart';
14 import 'package:plugin/plugin.dart';
15
16 /**
17 * The identifier of the extension point that allows plugins to register new
18 * analysis tasks with the analysis engine. The object used as an extension must
19 * be a [TaskDescriptor].
20 */
21 final String TASK_EXTENSION_POINT_ID = Plugin.join(
22 EnginePlugin.UNIQUE_IDENTIFIER, EnginePlugin.TASK_EXTENSION_POINT);
23
24 /**
25 * The identifier of the extension point that allows plugins to register new
26 * work managers with the analysis engine. The object used as an extension must
27 * be a [WorkManagerFactory].
28 */
29 final String WORK_MANAGER_EXTENSION_POINT_ID = Plugin.join(
30 EnginePlugin.UNIQUE_IDENTIFIER,
31 EnginePlugin.WORK_MANAGER_FACTORY_EXTENSION_POINT);
32
33 /**
34 * A function that will create a new [WorkManager] for the given [context].
35 */
36 typedef WorkManager WorkManagerFactory(InternalAnalysisContext context);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698