MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::lsp::PublishDiagnosticsParams Struct Reference

#include "mlir/Tools/lsp-server-support/Protocol.h"

Public Member Functions

 PublishDiagnosticsParams (URIForFile uri, int64_t version)
 

Public Attributes

URIForFile uri
 The URI for which diagnostic information is reported. More...
 
std::vector< Diagnosticdiagnostics
 The list of reported diagnostics. More...
 
int64_t version
 The version number of the document the diagnostics are published for. More...
 

Detailed Description

Definition at line 715 of file Protocol.h.

Constructor & Destructor Documentation

◆ PublishDiagnosticsParams()

mlir::lsp::PublishDiagnosticsParams::PublishDiagnosticsParams ( URIForFile  uri,
int64_t  version 
)
inline

Definition at line 716 of file Protocol.h.

Member Data Documentation

◆ diagnostics

std::vector<Diagnostic> mlir::lsp::PublishDiagnosticsParams::diagnostics

The list of reported diagnostics.

Definition at line 722 of file Protocol.h.

Referenced by mlir::lsp::toJSON().

◆ uri

URIForFile mlir::lsp::PublishDiagnosticsParams::uri

The URI for which diagnostic information is reported.

Definition at line 720 of file Protocol.h.

Referenced by mlir::lsp::toJSON().

◆ version

int64_t mlir::lsp::PublishDiagnosticsParams::version

The version number of the document the diagnostics are published for.

Definition at line 724 of file Protocol.h.

Referenced by mlir::lsp::toJSON().


The documentation for this struct was generated from the following file: