addUsage

fun addUsage(nameInModule: NameInModule, usageType: NamesIndex.UsageType, phraseIndex: Int)

Add information about a Usage.

Parameters

nameInModule

The NameInModule being used.

usageType

The nature of the usage of the nameInModule.

phraseIndex

The index into this ModuleCompilation's PhrasePathRecord's phrases, identifying the exact PhraseNode that uses the nameInModule.