aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/pages/contentNodeProperties.kt
blob: 9eabcd12bb974676244a0bcdc02fb50eaa175ecc (plain)
1
2
3
4
5
6
7
8
package org.jetbrains.dokka.pages

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

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