struct LSP::Data::Diagnostic::RelatedInformation
- LSP::Data::Diagnostic::RelatedInformation
- Struct
- Value
- Object
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
- JSON::Serializable
Defined in:
lsp/data/diagnostic.crConstructors
- .new(pull : JSON::PullParser)
- .new(location : LSP::Data::Location = Location.new, message : String = "")
Instance Method Summary
-
#location : Location
The location of this related diagnostic information.
-
#location=(location : Location)
The location of this related diagnostic information.
-
#message : String
The message of this related diagnostic information.
-
#message=(message : String)
The message of this related diagnostic information.
Constructor Detail
Instance Method Detail
The location of this related diagnostic information.