CommentsModule

fun CommentsModule(    header: ModuleHeader,     commentTokens: A_Tuple,     errorLog: StacksErrorLog,     resolver: ModuleNameResolver,     moduleToComments: MutableMap<String, CommentsModule>,     linkingFileMap: LinkingFileMap,     linkPrefix: String)

Construct a new CommentsModule.

Parameters

header

The ModuleHeader of the current file

commentTokens

A A_Tuple of all the comment tokens.

errorLog

The file for outputting all errors.

resolver

The ModuleNameResolver for resolving module paths.

moduleToComments

A map of module names to a list of all the method names exported from said module

linkingFileMap

A map for all output files in Stacks

linkPrefix

An optional prefix to all files' link web links