SNRK-70: alias is added for names of files

This commit is contained in:
liubar.pa 2023-04-30 22:46:31 +03:00
parent b7a439f711
commit 3c2ffb572b

View File

@ -1,12 +1,14 @@
package documentBuilder
typealias FileName = String
sealed interface DependencyGraphEdge {
}
data class IncludeDependency(
val parentNode: MdAstParent,
val dependentNode: Iterator<MdAstElement>,
val includeList: List<String>
val includeList: List<FileName>
) : DependencyGraphEdge
data class DependencyGraphNode(
@ -15,5 +17,5 @@ data class DependencyGraphNode(
)
data class DependencyGraph(
val nodes: Map<String, DependencyGraphNode>
val nodes: Map<FileName, DependencyGraphNode>
)