aboutsummaryrefslogtreecommitdiff
path: root/src/DocumentationModel.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 17:16:09 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 17:16:09 +0400
commitdeae3bfbe0a5bda997f3033693879042a058de3a (patch)
tree6cdf65a860a517e44cc8e7744678b2561ae7a49d /src/DocumentationModel.kt
parent044e1b86602662c78bb2ed12b9d645ab10b23429 (diff)
downloaddokka-deae3bfbe0a5bda997f3033693879042a058de3a.tar.gz
dokka-deae3bfbe0a5bda997f3033693879042a058de3a.tar.bz2
dokka-deae3bfbe0a5bda997f3033693879042a058de3a.zip
Bootstrapped TDD, first test red then green.
Diffstat (limited to 'src/DocumentationModel.kt')
-rw-r--r--src/DocumentationModel.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/DocumentationModel.kt b/src/DocumentationModel.kt
index 6da18d42..77b38d79 100644
--- a/src/DocumentationModel.kt
+++ b/src/DocumentationModel.kt
@@ -3,10 +3,17 @@ 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 {