struct
AmberLSP::Rules::Diagnostic
- AmberLSP::Rules::Diagnostic
- Struct
- Value
- Object
Defined in:
amber_lsp/rules/diagnostic.crConstructors
Instance Method Summary
- #code : String
- #message : String
- #range : TextRange
- #severity : Severity
- #source : String
- #to_lsp_json : Hash(String, JSON::Any)
Constructor Detail
def self.new(range : TextRange, severity : Severity, code : String, message : String, source : String = "amber-lsp")
#