dart-sdk/pkg/analysis_server_client
Janice Collins 7878d4437e Prepare analysis_server_client for isolate implementation.
The isolate implementation will not be included in analysis_server_client
(as that is a public package), but to allow sharing of code this
refactors Server with a base class for common code between the
implementations.  This is intended to be a non-breaking change for
the interface of analysis_server_client.

Bug: https://github.com/dart-lang/sdk/issues/41056
Change-Id: I60fc5233193527f19cbc4b937a784150a53e86b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/140140
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2020-03-20 19:10:48 +00:00
..
example Enable 4 lints in analysis_server_client 2020-01-18 22:08:30 +00:00
lib Prepare analysis_server_client for isolate implementation. 2020-03-20 19:10:48 +00:00
test Enable prefer_single_quotes in analysis_server_client 2020-01-21 17:53:12 +00:00
analysis_options.yaml Enable prefer_single_quotes in analysis_server_client 2020-01-21 17:53:12 +00:00
CHANGELOG.md Update changelog for analysis_server_client 1.1.2 2019-11-01 16:59:32 +00:00
LICENSE
pubspec.yaml Prepare to publish analysis_server_client so that dartfix can use the new API 2019-12-11 14:26:21 +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.