getSemanticDiagnostics

abstract fun getSemanticDiagnostics(    sourceFile: SourceFile = definedExternally,     cancellationToken: CancellationToken = definedExternally): <Error class: unknown class><Diagnostic>(source)