All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pages.contentNodeProperties.kt Maven / Gradle / Ivy

Go to download

Dokka is an API documentation engine for Kotlin and Java, performing the same function as Javadoc for Java

There is a newer version: 2.0.0
Show newest version
package org.jetbrains.dokka.pages

import org.jetbrains.dokka.model.properties.ExtraProperty

class SimpleAttr(val extraKey: String, val extraValue: String) : ExtraProperty {
    data class SimpleAttrKey(val key: String) : ExtraProperty.Key
    override val key: ExtraProperty.Key = SimpleAttrKey(extraKey)

}

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
 */
interface TabbedContentType

/**
 * @see TabbedContentType
 */
class TabbedContentTypeExtra(val value: TabbedContentType) : ExtraProperty {
    companion object : ExtraProperty.Key
    override val key: ExtraProperty.Key = TabbedContentTypeExtra
}

object HtmlContent : ExtraProperty, ExtraProperty.Key {
    override val key: ExtraProperty.Key = this
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy