Implementation of Diagnostic
interface from Language Server Protocol
DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.
See also:
Static methods
Constructor
Variables
severity:DiagnosticSeverity
The diagnostic's severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.