Files
sdk/pkg/analysis_server_client
osaxma 1db9dba386 [analysis_server_client] make dartBinary as parameter for Server.start
Platform.executable != dartBinary for compiled executables.

This change allows package users to provide the path for the dartBinary if their app will be compiled.

Closes https://github.com/dart-lang/sdk/pull/48016
https://github.com/dart-lang/sdk/pull/48016

GitOrigin-RevId: c971baa6cc3545254f34056e229b74390f8aed08
Change-Id: Ic29d7e61626dd66b841e0fe63d2389089412c158
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/225700
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2022-01-04 19:57:52 +00:00
..
2021-04-07 10:28:38 +00:00
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.