dart-sdk/pkg/analyzer_plugin
Paul Berry e2f77056a5 Eliminate dependencies on pkg/front_end.
The API for pkg/front_end is still in flux so we want to avoid having
any packages depend directly on it (other than analyzer and
back-ends).

This CL re-exports some of the critical pieces of front_end needed by
analyzer clients so that those clients can access them via analyzer,
without having to directly depend on front_end.  It also updates
pkg/analyzer_plugin to make use of those re-exports.

R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2993123002 .
2017-08-07 09:46:30 -07:00
..
doc Add more documentation for plugins 2017-08-02 07:45:45 -07:00
lib Eliminate dependencies on pkg/front_end. 2017-08-07 09:46:30 -07:00
test Eliminate dependencies on pkg/front_end. 2017-08-07 09:46:30 -07:00
tool/spec Eliminate dependencies on pkg/front_end. 2017-08-07 09:46:30 -07:00
analysis_options.yaml Disable a not-yet-defined lint 2017-06-23 09:37:34 -07:00
BUILD.gn Disable analysis on a few packages. (#29571) 2017-05-05 22:06:00 -07:00
CHANGELOG.md Create the directory for the plugin package 2017-01-30 13:21:37 -08:00
LICENSE Create the directory for the plugin package 2017-01-30 13:21:37 -08:00
pubspec.yaml Remove unintentional dependency on analysis_server 2017-05-12 10:07:37 -07:00
README.md Initial documentation for the plugin package 2017-07-06 11:37:52 -07:00

analyzer_plugin

A framework for building plugins for the analysis server.

Usage

Note: The plugin support is not currently available for general use.

Plugins are written in Dart and are run in the same VM as the analysis server. The analysis server runs each plugin in a separate isolate and communicates with the plugin using a plugin API. This API is similar to the API used by the analysis server to communicate with clients.

Plugins are automatically discovered and run by the analysis server.

This package contains support code to make it easier to write a plugin. There is a tutorial describing how to use the support in this package.

Support

Post issues and feature requests on the issue tracker.

Questions and discussions are welcome at the Dart Analyzer Discussion Group.

License

See the LICENSE file.