Files
sdk/pkg/analysis_server
Sam Rawlins c888e760f6 DAS: Simplify public API of CorrectionProducer and friends
* CorrectionProducer:
  * Remove `errorMessage`; unused.
  * Make `configure` abstract; it is only here for the doc comment.
* MultiCorrectionProducer: remove `typeProvider`, `typeSystem`.
* ResolvedCorrectionProducer: make `coreTypeBool` private.
* _AbstractCorrectionProducer:
  * Move `invalidNodes`; only used once.
  * Remove `strictCasts`; unused.
  * Remove `displayStringForType`; unnecessary convenience.
  * Move `mightBeImplicitConstructor` to be a private extension
    getter.
  * Move `nameOfType` to be a private extension getter.
  * Move `shouldWrapParenthesisBeforeAnd` to be a public extension
    getter.
* Move DartFileEditBuilderExtension to be a private extension.

Change-Id: Icd1e17ccf398fafd1d9fee88d4b6a430a2deb50a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/367363
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2024-05-21 19:02:39 +00:00
..

analysis_server

A long-running process that provides analysis results to other tools.

The analysis server is designed to provide on-going analysis of one or more code bases as those code bases are changing.

Using the server

The analysis server is not intended to be used stand-alone, and therefore does not have a human-friendly user interface.

Clients (typically tools, such as an editor) are expected to run the analysis server in a separate process and communicate with it using a JSON protocol. The original protocol is specified in the file analysis_server/doc/api.html and Language Server Protocol support is documented in tool/lsp_spec/README.md.

Features and bugs

Please file feature requests and bugs at the issue tracker.