aboutsummaryrefslogtreecommitdiff
path: root/src/DocumentationModel.kt
blob: 77b38d793d7c97058621732acd375d7fbd8a0e85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.jetbrains.dokka

import com.intellij.psi.PsiFile
import org.jetbrains.jet.lang.resolve.BindingContext

public class DocumentationNode {
    val name = "fn"
    val doc = "doc"
}

public class DocumentationModel {
    fun merge(other: DocumentationModel): DocumentationModel {
        return DocumentationModel()
    }

    val items : List<DocumentationNode> = listOf(DocumentationNode())
}

fun BindingContext.createDocumentation(file: PsiFile): DocumentationModel {
    return DocumentationModel()
}