diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-02-12 16:01:38 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-02-18 13:28:23 +0100 |
commit | 848f2e0656e80604cb54932db5b250303aaccca8 (patch) | |
tree | 2d577faf9ee5f894fb2a97aa01a89d75d3c59841 /core/src/main/kotlin/model/Documentable.kt | |
parent | 46b4bbb68ce1285a1aea700cc0d0000c6b7ed97b (diff) | |
download | dokka-848f2e0656e80604cb54932db5b250303aaccca8.tar.gz dokka-848f2e0656e80604cb54932db5b250303aaccca8.tar.bz2 dokka-848f2e0656e80604cb54932db5b250303aaccca8.zip |
Moves DescriptorToDocumentableTransformer to base plugin
Diffstat (limited to 'core/src/main/kotlin/model/Documentable.kt')
-rw-r--r-- | core/src/main/kotlin/model/Documentable.kt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt index e64f82ac..f0820256 100644 --- a/core/src/main/kotlin/model/Documentable.kt +++ b/core/src/main/kotlin/model/Documentable.kt @@ -3,9 +3,6 @@ package org.jetbrains.dokka.model import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.model.doc.DocumentationNode import org.jetbrains.dokka.pages.PlatformData -import org.jetbrains.dokka.transformers.descriptors.KotlinClassKindTypes -import org.jetbrains.kotlin.descriptors.DeclarationDescriptor -import org.jetbrains.kotlin.descriptors.Visibilities import org.jetbrains.kotlin.descriptors.Visibility class Module(override val name: String, val packages: List<Package>) : Documentable() { @@ -239,15 +236,6 @@ private fun String.shorten(maxLength: Int) = lineSequence().first().let { if (it.length != length || it.length > maxLength) it.take(maxLength - 3) + "..." else it } -interface TypeWrapper { - val constructorFqName: String? - val constructorNamePathSegments: List<String> - val arguments: List<TypeWrapper> - val dri: DRI? -} - -interface ClassKind - fun Documentable.dfs(predicate: (Documentable) -> Boolean): Documentable? = if (predicate(this)) { this |