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

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

+ Collaboration diagram for mlir::lsp::PublishDiagnosticsParams:

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 685 of file Protocol.h.

Constructor & Destructor Documentation

◆ PublishDiagnosticsParams()

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

Definition at line 686 of file Protocol.h.

Member Data Documentation

◆ diagnostics

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

The list of reported diagnostics.

Definition at line 692 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 690 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 694 of file Protocol.h.

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


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