CompilerDiagnostics

fun CompilerDiagnostics(    source: A_String,     moduleName: ModuleName,     pollForAbort: () -> Boolean,     problemHandler: ProblemHandler)

Create a CompilerDiagnostics suitable for tracking the potential problems encountered during compilation of a single module.

Parameters

source

The source code of the module.

moduleName

The ModuleName of the module being compiled.

pollForAbort

A BooleanSupplier to indicate whether to abort.

problemHandler

A ProblemHandler for, well, handling problems during compilation.