class 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:

base/diagnostic.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(line : Int32?, column : Int32?, size : Int32?, message : String, filename) #

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

def self.new(**args) #

Instance Method Detail

def location : Location #

The location of this related diagnostic information.


def location=(location : Location) #

The location of this related diagnostic information.


def message : String #

The message of this related diagnostic information.


def message=(message : String) #

The message of this related diagnostic information.