aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2014-12-29 20:50:26 +0100
committerDmitry Jemerov <yole@jetbrains.com>2014-12-29 20:57:25 +0100
commitcedaeb48615cf6f9aae3cbcd3917e9827ca5e67f (patch)
tree00358b0477c93a3fd3f1d09ce81d9028dddfc145 /src/Formats
parent7db96f8da4317cd290ccc9f988c534f10923dbbb (diff)
downloaddokka-cedaeb48615cf6f9aae3cbcd3917e9827ca5e67f.tar.gz
dokka-cedaeb48615cf6f9aae3cbcd3917e9827ca5e67f.tar.bz2
dokka-cedaeb48615cf6f9aae3cbcd3917e9827ca5e67f.zip
put class object functions and properties in main class block
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/StructuredFormatService.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index adfac99c..60d5b7f1 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -187,6 +187,8 @@ public abstract class StructuredFormatService(val locationService: LocationServi
appendSection(location, "Constructors", node.members(DocumentationNode.Kind.Constructor), node, to)
appendSection(location, "Properties", node.members(DocumentationNode.Kind.Property), node, to)
appendSection(location, "Functions", node.members(DocumentationNode.Kind.Function), node, to)
+ appendSection(location, "Class Object Properties", node.members(DocumentationNode.Kind.ClassObjectProperty), node, to)
+ appendSection(location, "Class Object Functions", node.members(DocumentationNode.Kind.ClassObjectFunction), node, to)
appendSection(location, "Accessors", node.members(DocumentationNode.Kind.PropertyAccessor), node, to)
appendSection(location, "Other members", node.members.filter {
it.kind !in setOf(
@@ -197,7 +199,9 @@ public abstract class StructuredFormatService(val locationService: LocationServi
DocumentationNode.Kind.Property,
DocumentationNode.Kind.Package,
DocumentationNode.Kind.Function,
- DocumentationNode.Kind.PropertyAccessor
+ DocumentationNode.Kind.PropertyAccessor,
+ DocumentationNode.Kind.ClassObjectProperty,
+ DocumentationNode.Kind.ClassObjectFunction
)
}, node, to)
appendSection(location, "Extensions", node.extensions, node, to)