aboutsummaryrefslogtreecommitdiff
path: root/src/Generation
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-19 18:59:00 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-19 18:59:00 +0100
commitd9bfa029b0ecf300ae47cf1033db2d5cb323d705 (patch)
treeff8a9f7d4b0b1233d3d7b1e89a74047c64c8dbd7 /src/Generation
parent2822a3eee07a27495d5af4fc36304d483756d3a6 (diff)
downloaddokka-d9bfa029b0ecf300ae47cf1033db2d5cb323d705.tar.gz
dokka-d9bfa029b0ecf300ae47cf1033db2d5cb323d705.tar.bz2
dokka-d9bfa029b0ecf300ae47cf1033db2d5cb323d705.zip
remove dependency of Location on a File; use more meaningful locations in tests
Diffstat (limited to 'src/Generation')
-rw-r--r--src/Generation/ConsoleGenerator.kt2
-rw-r--r--src/Generation/FileGenerator.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Generation/ConsoleGenerator.kt b/src/Generation/ConsoleGenerator.kt
index f52c6f4b..2f2daa55 100644
--- a/src/Generation/ConsoleGenerator.kt
+++ b/src/Generation/ConsoleGenerator.kt
@@ -4,7 +4,7 @@ public class ConsoleGenerator(val signatureGenerator: LanguageService, val locat
val IndentStep = " "
public fun generate(node: DocumentationNode, indent: String = "") {
- println("@${locationService.location(node).file}")
+ println("@${locationService.location(node).path}")
generateHeader(node, indent)
//generateDetails(node, indent)
generateMembers(node, indent)
diff --git a/src/Generation/FileGenerator.kt b/src/Generation/FileGenerator.kt
index 128f3260..22090937 100644
--- a/src/Generation/FileGenerator.kt
+++ b/src/Generation/FileGenerator.kt
@@ -4,7 +4,7 @@ import java.io.FileOutputStream
import java.io.OutputStreamWriter
public class FileGenerator(val signatureGenerator: LanguageService,
- val locationService: LocationService,
+ val locationService: FileLocationService,
val formatService: FormatService,
val outlineService: OutlineFormatService?) {