getDiagnostics

Generates a list of diagnostics.

Return

a list of diagnostics that can be reported

Parameters

document

the current document