.dokka.dokka-core.1.9.0.source-code.CoreExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dokka-core Show documentation
Show all versions of dokka-core Show documentation
Dokka is an API documentation engine for Kotlin and Java, performing the same function as Javadoc for Java
package org.jetbrains.dokka
import org.jetbrains.dokka.generation.Generation
import org.jetbrains.dokka.plugability.ExtensionPoint
import org.jetbrains.dokka.renderers.PostAction
import org.jetbrains.dokka.renderers.Renderer
import org.jetbrains.dokka.transformers.documentation.DocumentableMerger
import org.jetbrains.dokka.transformers.documentation.DocumentableToPageTranslator
import org.jetbrains.dokka.transformers.documentation.DocumentableTransformer
import org.jetbrains.dokka.transformers.pages.PageTransformer
import org.jetbrains.dokka.transformers.sources.SourceToDocumentableTranslator
import org.jetbrains.dokka.validity.PreGenerationChecker
import kotlin.reflect.KProperty
object CoreExtensions {
val preGenerationCheck by coreExtensionPoint()
val generation by coreExtensionPoint()
val sourceToDocumentableTranslator by coreExtensionPoint()
val documentableMerger by coreExtensionPoint()
val documentableTransformer by coreExtensionPoint()
val documentableToPageTranslator by coreExtensionPoint()
val pageTransformer by coreExtensionPoint()
val renderer by coreExtensionPoint()
val postActions by coreExtensionPoint()
private fun coreExtensionPoint() = object {
operator fun provideDelegate(thisRef: CoreExtensions, property: KProperty<*>): Lazy> =
lazy { ExtensionPoint(thisRef::class.qualifiedName!!, property.name) }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy