Warm

private class Warm(val configuration: CompilerConfiguration, val projectEnvironment: VfsBasedProjectEnvironment, val sessionContext: FirJvmSessionFactory.Context, val libraryList: DependencyListForCliModule, val collector: ScriptDiagnosticsMessageCollector, val classpath: List<File>)

Everything reused across evals. Built once; the game classpath does not change under us. The KotlinCoreEnvironment is deliberately absent: nothing reads it, and the Disposer it registered with keeps it (and its project, which projectEnvironment wraps) alive for the life of the process.

Constructors

Link copied to clipboard
constructor(configuration: CompilerConfiguration, projectEnvironment: VfsBasedProjectEnvironment, sessionContext: FirJvmSessionFactory.Context, libraryList: DependencyListForCliModule, collector: ScriptDiagnosticsMessageCollector, classpath: List<File>)

Properties

Link copied to clipboard
Link copied to clipboard
val collector: ScriptDiagnosticsMessageCollector
Link copied to clipboard
val configuration: CompilerConfiguration
Link copied to clipboard
val libraryList: DependencyListForCliModule
Link copied to clipboard
val projectEnvironment: VfsBasedProjectEnvironment
Link copied to clipboard
val sessionContext: FirJvmSessionFactory.Context