diff options
Diffstat (limited to 'src/Model/DocumentationModel.kt')
-rw-r--r-- | src/Model/DocumentationModel.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Model/DocumentationModel.kt b/src/Model/DocumentationModel.kt index 61c3b28a..77bd8373 100644 --- a/src/Model/DocumentationModel.kt +++ b/src/Model/DocumentationModel.kt @@ -53,6 +53,10 @@ public open class DocumentationNode(val name: String, val doc: String, val kind: } public fun references(kind: DocumentationReferenceKind): List<DocumentationReference> = references.filter { it.kind == kind } + + public override fun toString() : String { + return "$kind $name" + } } public class DocumentationModel : DocumentationNode("model", "", DocumentationNodeKind.Model) { |