DocumentationGenerator

Package: Libraries.Language.Compile.Documentation · Inherits from: Libraries.Language.Object

Actions

AddDefaultHeaders(Libraries.Web.Page.WebPage page)

The old page's headers: its language, character set and viewport.

Parameters

CreateHeaderSection(text header)

The old page's title section: the header's words, as a heading.

Parameters

  • header text

Returns

Libraries.Web.Page.Section

GetFooter()

The old page's footer.

Returns

Libraries.Web.Page.Footer

GetIconFolder()

Sets the folder the frame's icons are read from, from the folder the generator runs in.

Returns

text

GetPackageIndex()

The old page's package list, now empty.

Returns

Libraries.Web.Page.Section

GetRunFolder()

website's own, written out here so the pages need no files.

Returns

Libraries.System.File

SetIconFolder(text folder)

Sets the folder the frame's icons are read from, from the folder the generator runs in.

Parameters

  • folder text: The folder, ending in a slash.

SetRunFolder(Libraries.System.File file)

Parameters

Write(Libraries.Language.Compile.Library library, Libraries.Containers.HashTable<text:Libraries.Language.Compile.Translate.ClassOpcode> opcodeHash, boolean includeStandardLibrary)

Writes the documentation of a project's classes (the compiler's -document flag) into the run folder's Documents folder, in the same look as the standard library's: an index, a page for each package and a page for each class. The standard library's classes are left out unless asked for.

Parameters

Write(Libraries.Language.Compile.Library library)

Writes the standard library's documentation into the run folder's Documents folder, in the website's look: the index (libraries.html), a page for each package (Libraries/Containers/index.html) and a page for each class (Libraries/Containers/Array.html), and their stylesheet (style/library.css).

Parameters

Inherited Actions

3 actions from Libraries.Language.Object