mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:37:53 +00:00
596198fb74
This CL unifies the implementations of `package_root.dart` found in packages `analysis_server`, `analysis_server_client`, `analyzer`, and `analyzer_plugin`. This should make it easier to re-use this logic in other packages, such as `nnbd_migration`. Change-Id: I0da44edb379b8e929dd0b1c16a6989c1e9418acb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171260 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> |
||
---|---|---|
.. | ||
example | ||
lib | ||
test | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
pubspec.yaml | ||
README.md |
analysis_server_client
analysis_server_client is a client wrapper over Analysis Server.
Overview
-
Instances of Server manage a connection to an analysis server process, and facilitate communication to and from the server.
-
The Protocol library provides constants and classes to build requests for the server and decode responses and notifications from the server.
Example
The example uses the Server to launch the analysis server, analyze all *.dart files in the specified directory, display the results, and shutdown the analysis server.
References
For more about the analysis server, see the Analysis Server page.