CommentGroup

A grouping of AvailComments from an Avail module.

Author

Richard Arriaga

Constructors

Link copied to clipboard
constructor(name: A_String, namingModule: String, filename: StacksFilename, isPrivate: Boolean)

Construct a new CommentGroup.

constructor(group: CommentGroup, fileName: StacksFilename, namingModule: String, name: A_String)

Construct a new CommentGroup.

Properties

Link copied to clipboard

The set of all names referring to this implementation

Link copied to clipboard

All the categories this group belongs to.

Link copied to clipboard

The relative file path and file name first, fileName second.

Link copied to clipboard

A module global.

Link copied to clipboard

Indicates the implementation group has the sticky trait

Link copied to clipboard

Determine if the implementation is populated.

Link copied to clipboard
Link copied to clipboard

A map keyed by a unique identifier to MacroComment.

Link copied to clipboard

A map keyed by a unique identifier to MethodComment.

Link copied to clipboard

The name of the implementation. It is not final because it can be renamed.

Link copied to clipboard

The name of the module where this implementation is named and exported from.

Functions

Link copied to clipboard
Link copied to clipboard
fun addMacro(newMacro: MacroComment)
Link copied to clipboard
fun addMethod(newMethod: MethodComment)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun classImplementation(aClassImplementation: ClassComment)
Link copied to clipboard
fun global(aGlobal: GlobalComment)
Link copied to clipboard

set the boolean, hasStickyComment, presumably to true as the default is false.

Link copied to clipboard

Merge the input group with this group

Link copied to clipboard
fun toJSON(outputPath: Path, synchronizer: StacksSynchronizer, runtime: AvailRuntime, linkingFileMap: LinkingFileMap, nameOfGroup: String, errorLog: StacksErrorLog)

Create JSON file from implementation.