class LSP::DiagnosticRelatedInformation
- LSP::DiagnosticRelatedInformation
- Reference
- 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 are related to a diagnostics, e.g when duplicating a symbol in a scope.
Included Modules
Defined in:
base/diagnostic.crConstructors
- .new(line : Int32 | Nil, column : Int32 | Nil, size : Int32 | Nil, message : String, filename)
- .new(pull : JSON::PullParser)
- .new(**args)
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
def self.new(line : Int32 | Nil, column : Int32 | Nil, size : Int32 | Nil, message : String, filename)
#
Instance Method Detail
The location of this related diagnostic information.