ModuleVersion

Information kept in memory about a specific version of a module file.

Constructors

Link copied to clipboard
constructor(repository: Repository, moduleSize: Long, localImportNames: List<String>, entryPoints: List<String>)

Construct a new ModuleVersion.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An immutable List of compilations for this module version. There may be multiple compilations due to changes in ancestor module versions that forced this module to be recompiled.

Link copied to clipboard

Answer the serialized tuple of comment associated with this ModuleVersion.

Link copied to clipboard

Answer the list of local module names imported by this version of the module.

Link copied to clipboard

Answer the serialized module header associated with this version.

Link copied to clipboard

The enclosing Repository.

Functions

Link copied to clipboard

Look up the ModuleCompilation associated with the provided ModuleCompilationKey, answering null if unavailable.

Link copied to clipboard

The list of entry point names declared by this version of the module.

Link copied to clipboard

Write the specified byte array (encoding a tuple of comment) into the indexed file. Record the record position for subsequent retrieval.

Link copied to clipboard

Write the specified byte array (encoding a ModuleHeader) into the indexed file. Record the record position for subsequent retrieval.

Link copied to clipboard
open override fun toString(): String