Implementation of PublishDiagnosticsParams 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

staticparse(jsonParams:Any):PublishDiagnosticsParams

Constructor

new(uri:String, version:Null<Int>, diagnostics:Array<Diagnostic>)

Variables

diagnostics:Array<Diagnostic>

An array of diagnostic information items.

uri:String

The URI for which diagnostic information is reported.

@:value(null)version:Null<Int> = null

Optional the version number of the document the diagnostics are published for.