Implementation of DiagnosticTag 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 2)@:enum@:implinlineread onlyDeprecated:DiagnosticTag = 2

Deprecated or obsolete code.

Clients are allowed to rendered diagnostics with this tag strike through.

@:value(cast 1)@:enum@:implinlineread onlyUnnecessary:DiagnosticTag = 1

Unused or unnecessary code.

Clients are allowed to render diagnostics with this tag faded out instead of having an error squiggle.