diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 04:23:51 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 04:23:51 +0400 |
commit | a6000809a34735ffe1c40bf07a9e291d3c767eb9 (patch) | |
tree | 9d32fe971859e8cd36cb302be204fcdccefe886d /src/main.kt | |
parent | a83488aae453f1bf01cfb5507317acf0b9ddfb82 (diff) | |
download | dokka-a6000809a34735ffe1c40bf07a9e291d3c767eb9.tar.gz dokka-a6000809a34735ffe1c40bf07a9e291d3c767eb9.tar.bz2 dokka-a6000809a34735ffe1c40bf07a9e291d3c767eb9.zip |
Store descriptors instead of resolution scopes, rename Model -> Module
Diffstat (limited to 'src/main.kt')
-rw-r--r-- | src/main.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.kt b/src/main.kt index e8ef4e2f..975b2633 100644 --- a/src/main.kt +++ b/src/main.kt @@ -36,10 +36,10 @@ public fun main(args: Array<String>) { println() - val model = environment.processFiles { context, file -> + val model = environment.processFiles { context, module, file -> println("Processing: ${file.getName()}") - context.createDocumentationModel(file) - }.fold(DocumentationModel()) {(aggregate, item) -> aggregate.merge(item) } + context.createDocumentationModel(module, file) + }.reduce {(aggregate, item) -> aggregate.merge(item) } ConsoleGenerator().generate(model) |