SNRK-70: alias is added for names of files
This commit is contained in:
parent
b7a439f711
commit
3c2ffb572b
@ -1,12 +1,14 @@
|
|||||||
package documentBuilder
|
package documentBuilder
|
||||||
|
|
||||||
|
typealias FileName = String
|
||||||
|
|
||||||
sealed interface DependencyGraphEdge {
|
sealed interface DependencyGraphEdge {
|
||||||
}
|
}
|
||||||
|
|
||||||
data class IncludeDependency(
|
data class IncludeDependency(
|
||||||
val parentNode: MdAstParent,
|
val parentNode: MdAstParent,
|
||||||
val dependentNode: Iterator<MdAstElement>,
|
val dependentNode: Iterator<MdAstElement>,
|
||||||
val includeList: List<String>
|
val includeList: List<FileName>
|
||||||
) : DependencyGraphEdge
|
) : DependencyGraphEdge
|
||||||
|
|
||||||
data class DependencyGraphNode(
|
data class DependencyGraphNode(
|
||||||
@ -15,5 +17,5 @@ data class DependencyGraphNode(
|
|||||||
)
|
)
|
||||||
|
|
||||||
data class DependencyGraph(
|
data class DependencyGraph(
|
||||||
val nodes: Map<String, DependencyGraphNode>
|
val nodes: Map<FileName, DependencyGraphNode>
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user