SimpleDiagnostic
Creates a SimpleDiagnostic from a DiagnosticCause.
Parameters
range
the range of the diagnostic in the source text
cause
the cause of the diagnostic
Parameters
range
the range of the diagnostic in the source text
message
the message of the diagnostic
severity
the severity of the diagnostic