struct

LSP::DiagnosticRelatedInformation

Inherits JSON::Serializable < Struct < Value < Object

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.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

location
Source
location=(location : Location)
Source
message
Source
message=(message : String)
Source