class LSProtocol::DiagnosticRelatedInformation

Overview

Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(location : Location | Nil, message : String | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def location : Location #

The location of this related diagnostic information.


[View source]
def message : String #

The message of this related diagnostic information.


[View source]