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

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