struct LSP::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 are related to a diagnostics, e.g when duplicating a symbol in a scope.

Included Modules

Defined in:

lsp/diagnostic.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def location : Location #

[View source]
def location=(location : Location) #

[View source]
def message : String #

[View source]
def message=(message : String) #

[View source]