getSyntacticDiagnostics

abstract fun getSyntacticDiagnostics(sourceFile: SourceFile = definedExternally, cancellationToken: CancellationToken = definedExternally): ReadonlyArray<Diagnostic>(source)

Get the syntax diagnostics, for all source files if source file is not supplied