mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:37:53 +00:00
3621c6a02f
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> |
||
---|---|---|
.. | ||
example | ||
lib | ||
test | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
pubspec.yaml | ||
README.md |
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.