dart-sdk/pkg/analysis_server_client
Konstantin Shcheglov e97f1bdbf0 Switch analysis_server to language 2.12, so null safety, but opt-out files.
This should allow doing partial migration, specifically protocol files,
which are imported by other libraries, but are a small library cycle
that does not import much outside of it.

Change-Id: I904c05d6d5b444ee9a9dbd1f7ada12aabdcc5165
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193583
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-03-30 23:39:37 +00:00
..
example Enable omit_loval_variable_types in analysis_server_client 2020-03-30 03:59:07 +00:00
lib Switch analysis_server to language 2.12, so null safety, but opt-out files. 2021-03-30 23:39:37 +00:00
test analysis_server_client: Remove unnecessary imports 2021-01-25 01:06:49 +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 Rename pkg/analysis_tool to pkg/analyzer_utilities. 2020-11-13 17:46:30 +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.