aboutsummaryrefslogtreecommitdiff
path: root/src/Model/DocumentationModule.kt
blob: e74c544bdd8f2e24a1a99fb6b70fee5611b6a641 (plain)
1
2
3
4
5
6
7
8
9
10
11
package org.jetbrains.dokka

public class DocumentationModule(name: String, content: Content = Content.Empty) : DocumentationNode(name, content, DocumentationNode.Kind.Module) {
    fun merge(other: DocumentationModule): DocumentationModule {
        val model = DocumentationModule(name)
        model.addAllReferencesFrom(other)
        model.addAllReferencesFrom(this)
        return model
    }
}