dart-sdk/pkg/analysis_server_client
Brian Wilkerson 3621c6a02f Add a flag to the bulk fix protocol to support testing
I think it makes more sense for the server to read the config file than
for `dart fix` to read it and then pass the data to server as part of
the protocol, which it would effectively need to be parsed a second time.

But I don't want config files to be used outside of test mode, so I
added the flag to the protocol. Let me know if you can think of a better
approach.

Change-Id: I1c53bc995272451247e84914f2cd6b75a837ee1e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/180082
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2021-01-19 23:16:14 +00:00
..
example Enable omit_loval_variable_types in analysis_server_client 2020-03-30 03:59:07 +00:00
lib Add a flag to the bulk fix protocol to support testing 2021-01-19 23:16:14 +00:00
test Rename pkg/analysis_tool to pkg/analyzer_utilities. 2020-11-13 17:46:30 +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.