struct AmberLSP::Rules::Diagnostic

Defined in:

amber_lsp/rules/diagnostic.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(range : TextRange, severity : Severity, code : String, message : String, source : String = "amber-lsp") #

[View source]

Instance Method Detail

def code : String #

[View source]
def message : String #

[View source]
def range : TextRange #

[View source]
def severity : Severity #

[View source]
def source : String #

[View source]
def to_lsp_json : Hash(String, JSON::Any) #

[View source]