dart-sdk/pkg/analysis_server_client
Paul Berry 596198fb74 Share logic of package_root.dart
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>
2020-11-11 18:09:18 +00:00
..
example Enable omit_loval_variable_types in analysis_server_client 2020-03-30 03:59:07 +00:00
lib [Analyzer] Use new NAMED_REQUIRED ParameterKind for signature help 2020-09-29 07:38:14 +00:00
test Share logic of package_root.dart 2020-11-11 18:09:18 +00:00
analysis_options.yaml Enforce await_only_futures and fix violations (in more packages). 2020-09-24 16:58:50 +00:00
CHANGELOG.md Prepare for analysis_server_client 1.1.3. 2020-04-30 20:27:44 +00:00
LICENSE
pubspec.yaml Share logic of package_root.dart 2020-11-11 18:09:18 +00:00
README.md Fix a typo. 2018-11-15 18:45:09 +00:00

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.