/* * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package org.jetbrains.dokka.pages import org.jetbrains.dokka.model.properties.ExtraProperty public class SimpleAttr( public val extraKey: String, public val extraValue: String ) : ExtraProperty { public data class SimpleAttrKey(val key: String) : ExtraProperty.Key override val key: ExtraProperty.Key = SimpleAttrKey(extraKey) } public enum class BasicTabbedContentType : TabbedContentType { TYPE, CONSTRUCTOR, FUNCTION, PROPERTY, ENTRY, EXTENSION_PROPERTY, EXTENSION_FUNCTION } /** * It is used only to mark content for tabs in HTML format */ public interface TabbedContentType /** * @see TabbedContentType */ public class TabbedContentTypeExtra(public val value: TabbedContentType) : ExtraProperty { public companion object : ExtraProperty.Key override val key: ExtraProperty.Key = TabbedContentTypeExtra } public object HtmlContent : ExtraProperty, ExtraProperty.Key { override val key: ExtraProperty.Key = this }