diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-10-13 18:22:02 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-10-13 18:22:02 +0400 |
commit | ad14ea91a52563c83a3aba0c7d279cd5535b77e4 (patch) | |
tree | d78275d4d0ff3e51f604f059aee1b485028156f4 /src/Kotlin/KotlinLanguageService.kt | |
parent | 498448826d8762add15a524097e91e96b545a631 (diff) | |
download | dokka-ad14ea91a52563c83a3aba0c7d279cd5535b77e4.tar.gz dokka-ad14ea91a52563c83a3aba0c7d279cd5535b77e4.tar.bz2 dokka-ad14ea91a52563c83a3aba0c7d279cd5535b77e4.zip |
Fixing formats and started work on inline function body.
Diffstat (limited to 'src/Kotlin/KotlinLanguageService.kt')
-rw-r--r-- | src/Kotlin/KotlinLanguageService.kt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt index 80467914..c7fabda9 100644 --- a/src/Kotlin/KotlinLanguageService.kt +++ b/src/Kotlin/KotlinLanguageService.kt @@ -110,9 +110,11 @@ class KotlinLanguageService : LanguageService { private fun ContentNode.renderModifier(node: DocumentationNode) { when (node.name) { - "final", "internal" -> { + "final", "internal" -> {} + else -> { + keyword(node.name) + text(" ") } - else -> keyword(node.name) } } @@ -161,7 +163,6 @@ class KotlinLanguageService : LanguageService { if (node.kind == org.jetbrains.dokka.DocumentationNode.Kind.Interface && it.name == "abstract") continue renderModifier(it) - text(" ") } } |