Implementation of DiagnosticSeverity enumeration 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:

Variables

@:value(cast 1)@:enum@:implinlineread onlyError:DiagnosticSeverity = 1

Reports an error.

@:value(cast 4)@:enum@:implinlineread onlyHint:DiagnosticSeverity = 4

Reports a hint.

@:value(cast 3)@:enum@:implinlineread onlyInformation:DiagnosticSeverity = 3

Reports an information.

@:value(cast 2)@:enum@:implinlineread onlyWarning:DiagnosticSeverity = 2

Reports a warning.