The category of the diagnostic message, e.g. "error", "warning", or "suggestion".
OptionalcodeThe error code of the diagnostic message.
The last file location at which the text applies.
OptionalrelatedAny related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites
OptionalreportsOptionalreportsOptionalsourceThe name of the plugin reporting the message.
Starting file location at which text applies.
Text of diagnostic message.
Item of diagnostic information found in a DiagnosticEvent message.