SamplesTransformer

abstract class SamplesTransformer(val context: DokkaContext) : PageTransformer

Inheritors

Constructors

Link copied to clipboard
constructor(context: DokkaContext)

Properties

Link copied to clipboard
val context: DokkaContext

Functions

Link copied to clipboard
operator override fun invoke(input: RootPageNode): RootPageNode

Run from the thread of Dispatchers.Default. It can help to avoid a memory leaks in ThreadLocals (that keep URLCLassLoader) since we shut down Dispatchers. Default at the end of each task (see org.jetbrains.dokka.DokkaConfiguration.finalizeCoroutines). Currently, all ThreadLocals are in a compiler/IDE codebase.

Link copied to clipboard
abstract fun processBody(psiElement: PsiElement): String
Link copied to clipboard
abstract fun processImports(psiElement: PsiElement): String