diff options
Diffstat (limited to 'src/Model')
-rw-r--r-- | src/Model/DocumentationNode.kt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Model/DocumentationNode.kt b/src/Model/DocumentationNode.kt index 44e9099e..52881f65 100644 --- a/src/Model/DocumentationNode.kt +++ b/src/Model/DocumentationNode.kt @@ -82,6 +82,7 @@ public open class DocumentationNode(val name: String, Constructor, Function, Property, + Field, CompanionObjectProperty, CompanionObjectFunction, @@ -112,9 +113,12 @@ public open class DocumentationNode(val name: String, * A note which is rendered once on a page documenting a group of overloaded functions. * Needs to be generated equally on all overloads. */ - OverloadGroupNote - } + OverloadGroupNote; + companion object { + val classLike = setOf(Class, Interface, Enum, AnnotationClass, Object) + } + } } public class DocumentationModule(name: String, content: Content = Content.Empty) |