StacksGenerator

class StacksGenerator constructor(outputPath: Path, val resolver: ModuleNameResolver)

An Avail documentation generator. It takes tokenized method/class comments in .avail files and creates navigable documentation from them.

Author

Richard Arriaga

Parameters

outputPath

The path to the output directory for documentation and data files.

resolver

Throws

If the output path exists but does not specify a directory.

Constructors

Link copied to clipboard
fun StacksGenerator(outputPath: Path, resolver: ModuleNameResolver)

Construct a new StacksGenerator.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun add(header: ModuleHeader, commentTokens: A_Tuple)

Inform the generator about the documentation and linkage of a module.

Link copied to clipboard
fun clear()

Clear all internal data structures and reinitialize this StacksGenerator for subsequent usage.

Link copied to clipboard
fun generate(runtime: AvailRuntime, outermostModule: ModuleName)

Generate complete Stacks documentation.

Properties

Link copied to clipboard
val errorLog: StacksErrorLog

The error log file for the malformed comments.

Link copied to clipboard
val resolver: ModuleNameResolver