aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-07-30 17:06:47 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-20 16:56:21 +0200
commit0da70311b0535bbda18540d957570a46d19484f5 (patch)
treebfcd6d62b01f4f9090be148a5dfe28dd6e46cb71 /core
parente43478f9fe4a362c95276ef4de1eb3f5827e23bb (diff)
downloaddokka-0da70311b0535bbda18540d957570a46d19484f5.tar.gz
dokka-0da70311b0535bbda18540d957570a46d19484f5.tar.bz2
dokka-0da70311b0535bbda18540d957570a46d19484f5.zip
Javadoc package-list
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/pages/PageNodes.kt64
1 files changed, 32 insertions, 32 deletions
diff --git a/core/src/main/kotlin/pages/PageNodes.kt b/core/src/main/kotlin/pages/PageNodes.kt
index d49f9911..dbb4d069 100644
--- a/core/src/main/kotlin/pages/PageNodes.kt
+++ b/core/src/main/kotlin/pages/PageNodes.kt
@@ -61,12 +61,12 @@ abstract class RootPageNode : PageNode {
): RootPageNode
}
-class ModulePageNode(
- override val name: String,
- override val content: ContentNode,
- override val documentable: Documentable?,
- override val children: List<PageNode>,
- override val embeddedResources: List<String> = listOf()
+open class ModulePageNode(
+ final override val name: String,
+ final override val content: ContentNode,
+ final override val documentable: Documentable?,
+ final override val children: List<PageNode>,
+ final override val embeddedResources: List<String> = listOf()
) : RootPageNode(), ContentPage {
override val dri: Set<DRI> = setOf(DRI.topLevel)
@@ -84,13 +84,13 @@ class ModulePageNode(
else ModulePageNode(name, content, documentable, children, embeddedResources)
}
-class PackagePageNode(
- override val name: String,
- override val content: ContentNode,
- override val dri: Set<DRI>,
- override val documentable: Documentable?,
- override val children: List<PageNode>,
- override val embeddedResources: List<String> = listOf()
+open class PackagePageNode(
+ final override val name: String,
+ final override val content: ContentNode,
+ final override val dri: Set<DRI>,
+ final override val documentable: Documentable?,
+ final override val children: List<PageNode>,
+ final override val embeddedResources: List<String> = listOf()
) : ContentPage {
override fun modified(name: String, children: List<PageNode>): PackagePageNode =
modified(name = name, content = this.content, children = children)
@@ -106,13 +106,13 @@ class PackagePageNode(
else PackagePageNode(name, content, dri, documentable, children, embeddedResources)
}
-class ClasslikePageNode(
- override val name: String,
- override val content: ContentNode,
- override val dri: Set<DRI>,
- override val documentable: Documentable?,
- override val children: List<PageNode>,
- override val embeddedResources: List<String> = listOf()
+open class ClasslikePageNode(
+ final override val name: String,
+ final override val content: ContentNode,
+ final override val dri: Set<DRI>,
+ final override val documentable: Documentable?,
+ final override val children: List<PageNode>,
+ final override val embeddedResources: List<String> = listOf()
) : ContentPage {
override fun modified(name: String, children: List<PageNode>): ClasslikePageNode =
modified(name = name, content = this.content, children = children)
@@ -128,13 +128,13 @@ class ClasslikePageNode(
else ClasslikePageNode(name, content, dri, documentable, children, embeddedResources)
}
-class MemberPageNode(
- override val name: String,
- override val content: ContentNode,
- override val dri: Set<DRI>,
- override val documentable: Documentable?,
- override val children: List<PageNode> = emptyList(),
- override val embeddedResources: List<String> = listOf()
+open class MemberPageNode(
+ final override val name: String,
+ final override val content: ContentNode,
+ final override val dri: Set<DRI>,
+ final override val documentable: Documentable?,
+ final override val children: List<PageNode> = emptyList(),
+ final override val embeddedResources: List<String> = listOf()
) : ContentPage {
override fun modified(name: String, children: List<PageNode>): MemberPageNode =
modified(name = name, content = this.content, children = children) as MemberPageNode
@@ -151,11 +151,11 @@ class MemberPageNode(
}
-class MultimoduleRootPageNode(
- override val name: String,
- override val dri: Set<DRI>,
- override val content: ContentNode,
- override val embeddedResources: List<String> = emptyList()
+open class MultimoduleRootPageNode(
+ final override val name: String,
+ final override val dri: Set<DRI>,
+ final override val content: ContentNode,
+ final override val embeddedResources: List<String> = emptyList()
) : RootPageNode(), ContentPage {
override val children: List<PageNode> = emptyList()