StacksExtendsModule

A grouping of all implementationGroups originating from the names section of this module that this is being extended by another module.

Author

Richard Arriaga

Constructors

Link copied to clipboard
constructor(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>>)

Construct a new StacksExtendsModule.

constructor(module: CommentsModule)

Construct a new StacksExtendsModule from a CommentsModule.

Properties

Link copied to clipboard

The a map of implementationGroups keyed by the implementation name.

Link copied to clipboard

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

Link copied to clipboard

The name of the module

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard
open override fun addClassImplementationGroup(key: A_String, classCommentGroup: CommentGroup)
Link copied to clipboard
open override fun addGlobalImplementationGroup(key: A_String, globalCommentGroup: CommentGroup)
Link copied to clipboard
Link copied to clipboard
open override fun addMacroImplementation(key: A_String, implementation: MacroComment)
Link copied to clipboard
open override fun addMethodImplementation(key: A_String, implementation: MethodComment)
Link copied to clipboard
open override fun addSemanticImplementation(key: A_String, implementation: SemanticRestrictionComment)
Link copied to clipboard

Flatten out moduleNameToExtendsList map so that all modules in tree are in one flat map keyed by the qualified method name to the implementation. Pair this with a map of method name to html link.

Link copied to clipboard
fun getExtendsModule(moduleNameToSearch: String): StacksExtendsModule?

Create a new map from implementationGroups with new keys using the method qualified name

Link copied to clipboard
open override fun renameImplementation(key: A_String, newName: A_String, newlyDefinedModule: CommentsModule, newFileName: StacksFilename, deleteOriginal: Boolean)

Rename an implementation in this Module.

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