/* * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ 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 public object CoreExtensions { public val preGenerationCheck: ExtensionPoint by coreExtensionPoint() public val generation: ExtensionPoint by coreExtensionPoint() public val sourceToDocumentableTranslator: ExtensionPoint by coreExtensionPoint() public val documentableMerger: ExtensionPoint by coreExtensionPoint() public val documentableTransformer: ExtensionPoint by coreExtensionPoint() public val documentableToPageTranslator: ExtensionPoint by coreExtensionPoint() public val pageTransformer: ExtensionPoint by coreExtensionPoint() public val renderer: ExtensionPoint by coreExtensionPoint() public val postActions: ExtensionPoint by coreExtensionPoint() private fun coreExtensionPoint() = object { operator fun provideDelegate(thisRef: CoreExtensions, property: KProperty<*>): Lazy> = lazy { ExtensionPoint(thisRef::class.qualifiedName!!, property.name) } } }