dart-sdk/pkg/analysis_server_client
Paul Berry a84863253c Re-apply "Add AnalysisDriver.resetUriResolution() and use it for analysis.reanalyze request."
Original change's description:
> Add AnalysisDriver.resetUriResolution() and use it for analysis.reanalyze request.
>
> This CL changes "analysis.reanalyze" API. We decided to repurpose it. It was not
> used for some time now in IntelliJ, and AFAIK has never been used in VS Code.
>
> R=​brianwilkerson@google.com, paulberry@google.com
>
> Change-Id: I7510b0189197c9f3f848b0fc59a7b2bd22889ac7
> Reviewed-on: https://dart-review.googlesource.com/c/85523
> Reviewed-by: Paul Berry <paulberry@google.com>
> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>

Change-Id: I828c9a77f1e28d44c00bfcf39527514e39cccc42
Reviewed-on: https://dart-review.googlesource.com/c/86221
Commit-Queue: Paul Berry <paulberry@google.com>
Auto-Submit: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2018-12-06 23:14:28 +00:00
..
example Cleanup analysis_server_client API 2018-11-15 15:06:55 +00:00
lib Re-apply "Add AnalysisDriver.resetUriResolution() and use it for analysis.reanalyze request." 2018-12-06 23:14:28 +00:00
test analysis_server_client API tweaks before publish 2018-11-15 21:44:03 +00:00
CHANGELOG.md Update dartfix to check analysis server protocol version 2018-11-19 21:14:28 +00:00
LICENSE
pubspec.yaml Update dartfix to check analysis server protocol version 2018-11-19 21:14:28 +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.