dart-sdk/pkg/analyzer_plugin
Sam Rawlins 88e62a23cf Expose CommentToken as analyzer public API
CommentToken is the static type of `Token.precedingComments`:
https://pub.dev/documentation/analyzer/5.13.0/dart_ast_token/Token/precedingComments.html
and so should be exposed as public API.

Cq-Include-Trybots: luci.dart.try:flutter-analyze-try,analyzer-win-release-try,pkg-win-release-try
Change-Id: I06e3e897bf310b9bc0e5067ab0f44db3a3e459c4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371946
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Sam Rawlins <srawlins@google.com>
2024-06-18 17:34:27 +00:00
..
doc [analyzer]/[analyzer_plugin] Support change descriptions on SourceEdit 2024-03-08 18:54:05 +00:00
lib Expose CommentToken as analyzer public API 2024-06-18 17:34:27 +00:00
test QuickFix. Issue 55773. Flatten FutureOr() when convert to async. 2024-06-03 23:10:09 +00:00
tool/spec [analyzer]/[analyzer_plugin] Support change descriptions on SourceEdit 2024-03-08 18:54:05 +00:00
.gitignore pkg/analyzer_plugin: support the latest pkg:analyzer 2019-04-24 02:26:26 +00:00
analysis_options.yaml Ignore TODO in pkg/analyzer_plugin. 2024-03-21 16:38:11 +00:00
CHANGELOG.md QuickFix. Issue 55773. Flatten FutureOr() when convert to async. 2024-06-03 23:10:09 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml QuickFix. Issue 55773. Flatten FutureOr() when convert to async. 2024-06-03 23:10:09 +00:00
README.md [pkg] normalize the headers of the pkg/ readmes 2022-05-31 21:00:13 +00:00

pub package package publisher

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.