addDefinition

fun addDefinition(nameInModule: NameInModule, definitionType: NamesIndex.DefinitionType, manifestIndex: Int)

Add information about a Definition.

Parameters

nameInModule

The NameInModule that is having a Definition added.

definitionType

The DefinitionType categorizing the definition.

manifestIndex

The index into this ModuleCompilation's ManifestRecord's manifest entries, indicating which top-level statement was responsible for the adding this Definition.