StacksUsesModule

fun StacksUsesModule(    moduleImportName: String,     commentGroups: MutableMap<A_String, CommentGroup>,     moduleNameToExtendsList: MutableMap<String, StacksExtendsModule>,     methodLeafNameToModuleName: MutableMap<A_String, MutableMap<String, CommentGroup>>,     moduleNameToUsesList: MutableMap<String, StacksUsesModule>,     usesMethodLeafNameToModuleName: MutableMap<A_String, MutableMap<String, CommentGroup>>,     renames: A_Map)

Construct a new StacksUsesModule.

Parameters

moduleImportName

The name of the module

commentGroups

The a map of implementationGroups keyed by the implementation name.

moduleNameToExtendsList

A map of module names to other modules extended by this module.

methodLeafNameToModuleName

A map keyed by a method name with no path to the qualified module path it is originally named from.

moduleNameToUsesList

A map of module names to other modules used by this module.

renames

The map of renames (StringDescriptor → string) explicitly specified in this import declaration. The keys are the newly introduced names and the values are the names provided by the predecessor module.

usesMethodLeafNameToModuleName

A map keyed by visible (uses) method names with no path to the qualified module path it is originally named from.


fun StacksUsesModule(module: CommentsModule, renamesMap: A_Map)

Construct a new StacksUsesModule from a CommentsModule.

Parameters

module

The CommentsModule to be transformed

renamesMap

The renames map