aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/resolvers/LocationProvider.kt
blob: 2da2310d93c3f5b7f482de075226d0f0590988b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package org.jetbrains.dokka.resolvers

import org.jetbrains.dokka.links.DRI
import org.jetbrains.dokka.pages.PageNode
import org.jetbrains.dokka.pages.PlatformData

interface LocationProvider {
    fun resolve(dri: DRI, platforms: List<PlatformData>, context: PageNode? = null): String
    fun resolve(node: PageNode, context: PageNode? = null): String
    fun resolveRoot(node: PageNode): String
    fun ancestors(node: PageNode?): List<PageNode>
}