51114fca8a
Fixes https://github.com/dart-lang/language/issues/1073 Spec: https://github.com/dart-lang/language/blob/master/accepted/future-releases/unnamed-libraries/feature-specification.md This work allows library directives without a name. Every single one would look like this: ``` library; ``` :) it was a little anti-climactic implementing a non-feature like this, but there it is. The affordance for a library directive without a name is guarded by an experiment flag, `--unnamed-libraries`. Change-Id: I8612238359e88d6082f7e89d0d0fc624fdb45273 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257490 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com> |
||
---|---|---|
.. | ||
doc | ||
lib | ||
test | ||
tool/spec | ||
.gitignore | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
OWNERS | ||
pubspec.yaml | ||
README.md |
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.