From d627d2cfdfebcddd63669734efb82dfc66e7c7fe Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Sat, 12 Jul 2014 03:25:39 +0400 Subject: Convert string doc to structured DocumentationContent --- src/Analysis/CommentsAPI.kt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Analysis') diff --git a/src/Analysis/CommentsAPI.kt b/src/Analysis/CommentsAPI.kt index 6bdc3716..c8a2ed3c 100644 --- a/src/Analysis/CommentsAPI.kt +++ b/src/Analysis/CommentsAPI.kt @@ -5,10 +5,6 @@ import org.jetbrains.jet.lang.resolve.* import org.jetbrains.jet.kdoc.psi.api.* import org.jetbrains.jet.lang.psi.* -fun BindingContext.getDocumentation(descriptor: DeclarationDescriptor): String { - return getDocumentationElements(descriptor).map { it.extractText() }.join("\n") -} - fun BindingContext.getDocumentationElements(descriptor: DeclarationDescriptor): List { val psiElement = DescriptorToSourceUtils.descriptorToDeclaration(descriptor) if (psiElement == null) -- cgit