createModuleCompilation

fun createModuleCompilation(compilationTime: Long, serializedBody: ByteArray, serializedBlockPhrases: ByteArray, manifest: ManifestRecord, stylingRecord: StylingRecord, phrasePaths: PhrasePathRecord, namesIndex: NamesIndex): ModuleCompilation

Construct a new ModuleCompilation, adding the serialized compiled module bytes to the repository without committing.

Parameters

compilationTime

The compilation time of this module.

serializedBody

The serialized form of the compiled module.

serializedBlockPhrases

The serialized form of the module's block phrases.

manifest

The ManifestRecord containing each ModuleManifestEntry captured for this module during this just-completed compilation.

stylingRecord

The StylingRecord that captures which symbolic styles should be applied to which parts of the source code.

phrasePaths

The PhrasePathRecord containing information about file position ranges for tokens, and the trees of phrases containing them.

namesIndex

The NamesIndex containing indexing information for names.