From deae3bfbe0a5bda997f3033693879042a058de3a Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Fri, 11 Jul 2014 17:16:09 +0400 Subject: Bootstrapped TDD, first test red then green. --- src/DocumentationModel.kt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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 = listOf(DocumentationNode()) } fun BindingContext.createDocumentation(file: PsiFile): DocumentationModel { -- cgit