aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrystianUjma <kujma@virtuslab.com>2019-04-01 16:58:59 +0200
committerKrystianUjma <kujma@virtuslab.com>2019-04-01 16:58:59 +0200
commitbf6bc4203ffa7472454bc5fbcd7d9c6b48b31890 (patch)
tree7f791b086d226050cde65bb6ac56f92514c91c47
parent1c585dfd56fbbd77becf8bc57c0ce37cd735615b (diff)
downloaddokka-bf6bc4203ffa7472454bc5fbcd7d9c6b48b31890.tar.gz
dokka-bf6bc4203ffa7472454bc5fbcd7d9c6b48b31890.tar.bz2
dokka-bf6bc4203ffa7472454bc5fbcd7d9c6b48b31890.zip
fix MarkdownFormatTest.extensions#1 test
-rw-r--r--core/src/main/kotlin/Formats/StructuredFormatService.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Formats/StructuredFormatService.kt b/core/src/main/kotlin/Formats/StructuredFormatService.kt
index 19f271e9..44efcdbe 100644
--- a/core/src/main/kotlin/Formats/StructuredFormatService.kt
+++ b/core/src/main/kotlin/Formats/StructuredFormatService.kt
@@ -691,6 +691,8 @@ abstract class StructuredOutputBuilder(val to: StringBuilder,
return membersOrGroupMembers { it.kind == kind }
}
+
+ //todo debug
appendSection("Packages", node.members(NodeKind.Package), platformsBasedOnMembers = true)
appendSection("Types", node.membersOrGroupMembers { it.kind in NodeKind.classLike /*&& it.kind != NodeKind.TypeAlias*/ && it.kind != NodeKind.AnnotationClass && it.kind != NodeKind.Exception })
appendSection("Annotations", node.membersOrGroupMembers(NodeKind.AnnotationClass))