dart-sdk/pkg/analysis_server_client
Konstantin Shcheglov 48c0eadb86 Migrate more of analysis_server_client
Added a few new methods to the listener, tests.

Change-Id: I477a17da3fd31db04c4960effee076680db62301
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193895
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-04-02 23:36:52 +00:00
..
example Migrate more of analysis_server_client 2021-04-02 23:36:52 +00:00
lib Migrate more of analysis_server_client 2021-04-02 23:36:52 +00:00
test Migrate more of analysis_server_client 2021-04-02 23:36:52 +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 Switch analysis_server_client to language 2.12, so null safety, but opt-out files. 2021-03-31 03:34:22 +00:00
LICENSE
pubspec.yaml Switch analysis_server_client to language 2.12, so null safety, but opt-out files. 2021-03-31 03:34:22 +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.