aboutsummaryrefslogtreecommitdiff
path: root/src/Model/DocumentationModel.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/DocumentationModel.kt')
-rw-r--r--src/Model/DocumentationModel.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/DocumentationModel.kt b/src/Model/DocumentationModel.kt
index e24b3c41..55f524b3 100644
--- a/src/Model/DocumentationModel.kt
+++ b/src/Model/DocumentationModel.kt
@@ -36,7 +36,7 @@ public enum class DocumentationReferenceKind {
}
public open class DocumentationNode(val name: String,
- val doc: String,
+ val doc: DocumentationContent,
val kind: DocumentationNodeKind,
val scope: JetScope) {
private val references = arrayListOf<DocumentationReference>()
@@ -67,7 +67,7 @@ public open class DocumentationNode(val name: String,
}
}
-public class DocumentationModel : DocumentationNode("model", "", DocumentationNodeKind.Model, JetScope.EMPTY) {
+public class DocumentationModel : DocumentationNode("model", DocumentationContent.Empty, DocumentationNodeKind.Model, JetScope.EMPTY) {
fun merge(other: DocumentationModel): DocumentationModel {
val model = DocumentationModel()
model.addAllReferencesFrom(other)