aboutsummaryrefslogtreecommitdiff
path: root/src/Generation/SignatureGenerator.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 16:05:59 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 16:05:59 +0400
commit372ab94571e1ad5885982ea83d4b55286f1d6c23 (patch)
treeff8b4d3d1261da88515f528bc3a7aa083f7dbfb4 /src/Generation/SignatureGenerator.kt
parent52deaf7d9b31a4cc5ed36a280e07fdfeff975362 (diff)
downloaddokka-372ab94571e1ad5885982ea83d4b55286f1d6c23.tar.gz
dokka-372ab94571e1ad5885982ea83d4b55286f1d6c23.tar.bz2
dokka-372ab94571e1ad5885982ea83d4b55286f1d6c23.zip
Implement KotlinSignatureGenerator to render nodes back into text in Kotlin syntax.
Diffstat (limited to 'src/Generation/SignatureGenerator.kt')
-rw-r--r--src/Generation/SignatureGenerator.kt10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Generation/SignatureGenerator.kt b/src/Generation/SignatureGenerator.kt
index 2f603327..8ddeddc8 100644
--- a/src/Generation/SignatureGenerator.kt
+++ b/src/Generation/SignatureGenerator.kt
@@ -1,6 +1,14 @@
package org.jetbrains.dokka
trait SignatureGenerator {
- fun getFunctionSignature(node: DocumentationNode): String
+ fun render(node: DocumentationNode): String
+ fun renderFunction(node: DocumentationNode): String
+ fun renderClass(node: DocumentationNode): String
+ fun renderTypeParametersForNode(node: DocumentationNode): String
+ fun renderTypeParameter(node: DocumentationNode): String
+ fun renderParameter(node: DocumentationNode): String
+ fun renderType(node: DocumentationNode): String
+ fun renderPackage(node: DocumentationNode): String
+ fun renderProperty(node: DocumentationNode): String
}