LinkingFileMap

class LinkingFileMap

A holder for all categories in stacks

Author

Richard Arriaga

Constructors

Link copied to clipboard
fun LinkingFileMap()

Functions

Link copied to clipboard
fun addAlias(alias: String, fileLink: String)
Link copied to clipboard
fun addCategoryMethodPair(    categoryName: String,     methodLeafName: String,     methodAndMethodLink: String)

Add a new method to the category method map, categoryMethodList, Map,List,String>>>

Link copied to clipboard
fun addCategoryToDescription(name: String, description: StacksDescription)

Add a new category

Link copied to clipboard
fun addModuleComment(comment: ModuleComment)
Link copied to clipboard
fun addNamedFileLinks(alias: String, fileLink: String)
Link copied to clipboard
fun categoryMethodsToJson(): String

Create a json file that has the categories' methods links.

Link copied to clipboard
fun clear()

Clear the field maps.

Link copied to clipboard
fun internalLinks(links: MutableMap<String, String>)
Link copied to clipboard
fun isCategory(key: String): Boolean

Check to see if key is a listed category.

Link copied to clipboard
fun writeCategoryDescriptionToJSON(path: Path, errorLog: StacksErrorLog)

A method that writes all the category comments discovered during parsing

Link copied to clipboard
fun writeCategoryLinksToJSON(path: Path)

A method that writes a JSON file of all the internal linking of Stacks files

Link copied to clipboard
fun writeInternalLinksToJSON(path: Path)

A method that writes a JSON file of all the internal linking of Stacks files

Link copied to clipboard
fun writeModuleCommentsToJSON(path: Path, errorLog: StacksErrorLog)

A method that writes all the module comments discovered during parsing to a file

Properties

Link copied to clipboard
val aliasesToFileLink: MutableMap<String, MutableSet<String>>

A map of aliases to file links.

Link copied to clipboard
val categoryMethodList: MutableMap<String, MutableList<Pair<String, String>>>

The map containing categories. Keyed by name to description.

Link copied to clipboard
val categoryToDescription: MutableMap<String, StacksDescription>

The map containing categories. Keyed by name to description.

Link copied to clipboard
var internalLinks: MutableMap<String, String>? = null

A map of aliases to file links.

Link copied to clipboard
val moduleComments: MutableSet<ModuleComment>

The list of ModuleComments for this compilation

Link copied to clipboard
val namedFileLinks: MutableMap<String, String>

A map of aliases to file links.