aboutsummaryrefslogtreecommitdiff
path: root/src/Model
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model')
-rw-r--r--src/Model/DocumentationReference.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Model/DocumentationReference.kt b/src/Model/DocumentationReference.kt
index 73d883e6..b563b058 100644
--- a/src/Model/DocumentationReference.kt
+++ b/src/Model/DocumentationReference.kt
@@ -36,15 +36,15 @@ class NodeReferenceGraph() {
}
fun link(fromNode: DocumentationNode, toSignature: String, kind: DocumentationReference.Kind) {
- references.add(PendingDocumentationReference({() -> fromNode}, {() -> nodeMap[toSignature]}, kind))
+ references.add(PendingDocumentationReference({ -> fromNode}, { -> nodeMap[toSignature]}, kind))
}
fun link(fromSignature: String, toNode: DocumentationNode, kind: DocumentationReference.Kind) {
- references.add(PendingDocumentationReference({() -> nodeMap[fromSignature]}, {() -> toNode}, kind))
+ references.add(PendingDocumentationReference({ -> nodeMap[fromSignature]}, { -> toNode}, kind))
}
fun link(fromSignature: String, toSignature: String, kind: DocumentationReference.Kind) {
- references.add(PendingDocumentationReference({() -> nodeMap[fromSignature]}, {() -> nodeMap[toSignature]}, kind))
+ references.add(PendingDocumentationReference({ -> nodeMap[fromSignature]}, { -> nodeMap[toSignature]}, kind))
}
fun lookup(signature: String): DocumentationNode? = nodeMap[signature]