hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
LspDiagnostic Struct Reference

#include <protocol.h>

Collaboration diagram for LspDiagnostic:

Public Attributes

Range range
 
DiagnosticSeverity severity = DiagnosticSeverity::Error
 
std::string message
 
std::optional< std::string > source
 

Detailed Description

Definition at line 362 of file protocol.h.

Member Data Documentation

◆ message

std::string message

Definition at line 365 of file protocol.h.

Referenced by LspServer::publishDiagnostics(), and lsp::to_json().

◆ range

Range range

Definition at line 363 of file protocol.h.

Referenced by LspServer::publishDiagnostics(), and lsp::to_json().

◆ severity

◆ source

std::optional<std::string> source

Definition at line 366 of file protocol.h.

Referenced by LspServer::publishDiagnostics(), and lsp::to_json().


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