Companion

object Companion

Functions

Link copied to clipboard
fun create(    resolvedName: ResolvedModuleName,     runtime: AvailRuntime,     textInterface: TextInterface,     pollForAbort: () -> Boolean,     reporter: CompilerProgressReporter,     afterFail: () -> Unit,     problemHandler: ProblemHandler,     succeed: (AvailCompiler) -> Unit)

Asynchronously construct a suitable AvailCompiler to parse the specified module name.

Link copied to clipboard
fun normalizeLineEnds(originalSource: String): Pair<String, String>

Given the exact source code of a module, replace line ends with "\n". Answer a Pair consisting of the new source and the line break string that was encountered (or "\n" if none).