From a0bfdbd8cc365cb11c26e81ee7587f0ec25df79d Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Mon, 14 Jul 2014 15:00:33 +0400 Subject: Location services, formatting services, initial self-documentation output. --- src/Generation/ConsoleGenerator.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Generation/ConsoleGenerator.kt') diff --git a/src/Generation/ConsoleGenerator.kt b/src/Generation/ConsoleGenerator.kt index 17fb6532..17e6957b 100644 --- a/src/Generation/ConsoleGenerator.kt +++ b/src/Generation/ConsoleGenerator.kt @@ -1,9 +1,10 @@ package org.jetbrains.dokka -public class ConsoleGenerator(val signatureGenerator : SignatureGenerator) { +public class ConsoleGenerator(val signatureGenerator: SignatureGenerator, val locationService: LocationService) { val IndentStep = " " public fun generate(node: DocumentationNode, indent: String = "") { + println("@${locationService.location(node).file}") generateHeader(node, indent) //generateDetails(node, indent) generateMembers(node, indent) -- cgit