diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-11 22:01:10 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-11 22:01:10 +0400 |
commit | c0f820f4a4dfddbee06cb4c62a3b4609611dac62 (patch) | |
tree | 86cec76c0dcac0f8ee4048829fa722d4c183906b /src/Model/DocumentationBuilder.kt | |
parent | a8e59d7af41ca05b68e2d916552cecbbacbf3e92 (diff) | |
download | dokka-c0f820f4a4dfddbee06cb4c62a3b4609611dac62.tar.gz dokka-c0f820f4a4dfddbee06cb4c62a3b4609611dac62.tar.bz2 dokka-c0f820f4a4dfddbee06cb4c62a3b4609611dac62.zip |
Test for docs on parameters, cleanup.
Diffstat (limited to 'src/Model/DocumentationBuilder.kt')
-rw-r--r-- | src/Model/DocumentationBuilder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Model/DocumentationBuilder.kt b/src/Model/DocumentationBuilder.kt index 08298926..e28d437f 100644 --- a/src/Model/DocumentationBuilder.kt +++ b/src/Model/DocumentationBuilder.kt @@ -5,7 +5,7 @@ import org.jetbrains.jet.lang.psi.* import org.jetbrains.jet.lang.descriptors.* import org.jetbrains.jet.lang.descriptors.impl.* -fun BindingContext.createDocumentation(file: JetFile): DocumentationModel { +fun BindingContext.createSourceModel(file: JetFile): DocumentationModel { val model = DocumentationModel() val packageFragment = getPackageFragment(file) if (packageFragment == null) throw IllegalArgumentException("File $file should have package fragment") |