QuarkdownModule

A subsection of Quarkdown functions that can be exported via a MultiFunctionLibraryLoader.

While this class might seem redundant in place of a typealias, having an actual class makes it easier and more robust on Quarkdoc^1's side to identify modules.

^1: Quarkdoc is Quarkdown's documentation generator, based on Dokka. See the quarkdown-quarkdoc module.

Parameters

functions

the functions to export in the module

Constructors

Link copied to clipboard
constructor(functions: Set<ExportableFunction>)
constructor(vararg modules: QuarkdownModule)

Creates a QuarkdownModule that wraps multiple QuarkdownModules, joining their functions into a single module. The identity of the submodules is lost in the process.

Properties

Link copied to clipboard
open override val isEmpty: Boolean
Link copied to clipboard
open val size: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun clone(): Any
Link copied to clipboard
open operator fun contains(o: ExportableFunction): Boolean
Link copied to clipboard
Link copied to clipboard

Groups a sequence of patterns into a single Regex where every capture group is identified by its token type (name). The result is cached so that repeated calls with the same patterns reuse the compiled Regex.

Link copied to clipboard
Link copied to clipboard
operator fun plus(other: QuarkdownModule): QuarkdownModule
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toArray(): Array<out Any?>?
open fun <T : Any?> toArray(a: Array<out T?>?): Array<out T?>?
Link copied to clipboard