DefaultSamplesTransformer

class DefaultSamplesTransformer(val context: DokkaContext) : SamplesTransformer

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
open override fun processBody(psiElement: PsiElement): String
Link copied to clipboard
open override fun processImports(psiElement: PsiElement): String