aboutsummaryrefslogtreecommitdiff
path: root/src/main.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 16:28:57 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 16:28:57 +0400
commit93c92506101fec7f0cff6b63d7e223ae97f20717 (patch)
treed04c9468d940e8fea71f70cc9a31bcca71a4537b /src/main.kt
parent372ab94571e1ad5885982ea83d4b55286f1d6c23 (diff)
downloaddokka-93c92506101fec7f0cff6b63d7e223ae97f20717.tar.gz
dokka-93c92506101fec7f0cff6b63d7e223ae97f20717.tar.bz2
dokka-93c92506101fec7f0cff6b63d7e223ae97f20717.zip
Add JavaSignatureGenerator (no properties or ojects yet)
Diffstat (limited to 'src/main.kt')
-rw-r--r--src/main.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.kt b/src/main.kt
index 95cda7af..6e1ef834 100644
--- a/src/main.kt
+++ b/src/main.kt
@@ -36,12 +36,12 @@ public fun main(args: Array<String>) {
println()
- val model = environment.processFiles { context, module, file ->
+ val documentation = environment.processFiles { context, module, file ->
println("Processing: ${file.getName()}")
context.createDocumentationModule(module, file)
}.reduce {(aggregate, item) -> aggregate.merge(item) }
- ConsoleGenerator().generate(model)
+ ConsoleGenerator(JavaSignatureGenerator()).generate(documentation)
Disposer.dispose(environment)
} \ No newline at end of file