aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/signatures
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-03-03 17:42:48 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-04 14:28:14 +0100
commit156396f7520b3ac45e37068d6b72087008322cbe (patch)
tree51253dde720aae57111760862038393e4cc06204 /plugins/base/src/main/kotlin/signatures
parent973cc5238e2f7ede6d9cf54437785770a3e020c9 (diff)
downloaddokka-156396f7520b3ac45e37068d6b72087008322cbe.tar.gz
dokka-156396f7520b3ac45e37068d6b72087008322cbe.tar.bz2
dokka-156396f7520b3ac45e37068d6b72087008322cbe.zip
Replace inline signature generation with KotlinSignatureProvider
Diffstat (limited to 'plugins/base/src/main/kotlin/signatures')
-rw-r--r--plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
index 6eddca0d..2d4694bd 100644
--- a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
+++ b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
@@ -13,7 +13,7 @@ import org.jetbrains.dokka.pages.PlatformData
import org.jetbrains.dokka.utilities.DokkaLogger
class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLogger) : SignatureProvider {
- private val contentBuilder = PageContentBuilder(ctcc, logger)
+ private val contentBuilder = PageContentBuilder(ctcc, this, logger)
override fun signature(documentable: Documentable): List<ContentNode> = when (documentable) {
is Function -> signature(documentable)
@@ -59,7 +59,7 @@ class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLog
if (generics.isNotEmpty()) {
text("<")
generics.forEach {
- signature(it)
+ this@KotlinSignatureProvider.signature(it)
}
text(">")
}