aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-08-20 15:57:32 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-20 16:56:21 +0200
commit3af779ff3377901d946a230f9900f5a508bf08e3 (patch)
treeaebfa4994b49cd4efaad0443cb392da75ea22ac2 /core/src/main/kotlin
parent0da70311b0535bbda18540d957570a46d19484f5 (diff)
downloaddokka-3af779ff3377901d946a230f9900f5a508bf08e3.tar.gz
dokka-3af779ff3377901d946a230f9900f5a508bf08e3.tar.bz2
dokka-3af779ff3377901d946a230f9900f5a508bf08e3.zip
Revert unwanted changes
Diffstat (limited to 'core/src/main/kotlin')
-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 dbb4d069..d49f9911 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
}
-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()
+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()
) : RootPageNode(), ContentPage {
override val dri: Set<DRI> = setOf(DRI.topLevel)
@@ -84,13 +84,13 @@ open class ModulePageNode(
else ModulePageNode(name, content, documentable, children, embeddedResources)
}
-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()
+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()
) : ContentPage {
override fun modified(name: String, children: List<PageNode>): PackagePageNode =
modified(name = name, content = this.content, children = children)
@@ -106,13 +106,13 @@ open class PackagePageNode(
else PackagePageNode(name, content, dri, documentable, children, embeddedResources)
}
-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()
+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()
) : ContentPage {
override fun modified(name: String, children: List<PageNode>): ClasslikePageNode =
modified(name = name, content = this.content, children = children)
@@ -128,13 +128,13 @@ open class ClasslikePageNode(
else ClasslikePageNode(name, content, dri, documentable, children, embeddedResources)
}
-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()
+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()
) : ContentPage {
override fun modified(name: String, children: List<PageNode>): MemberPageNode =
modified(name = name, content = this.content, children = children) as MemberPageNode
@@ -151,11 +151,11 @@ open class MemberPageNode(
}
-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()
+class MultimoduleRootPageNode(
+ override val name: String,
+ override val dri: Set<DRI>,
+ override val content: ContentNode,
+ override val embeddedResources: List<String> = emptyList()
) : RootPageNode(), ContentPage {
override val children: List<PageNode> = emptyList()