From fdcf9c9c5b9610feea2693b43d97ab53372d7edb Mon Sep 17 00:00:00 2001 From: "liubar.pa" Date: Fri, 5 May 2023 21:25:43 +0300 Subject: [PATCH] SNRK-70: IncludeDependency is changed --- snark-document-builder/src/main/kotlin/DependencyGraph.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snark-document-builder/src/main/kotlin/DependencyGraph.kt b/snark-document-builder/src/main/kotlin/DependencyGraph.kt index bb00d47..dc0a8bc 100644 --- a/snark-document-builder/src/main/kotlin/DependencyGraph.kt +++ b/snark-document-builder/src/main/kotlin/DependencyGraph.kt @@ -25,12 +25,12 @@ public sealed interface DependencyGraphEdge { * Include dependency edge. * * @property parentNode - node inside AST tree, that is parent for dependent node. - * @property dependentNode - iterator to a dependent node, i.e. node of part of document with include commands + * @property dependentNode - dependent node, i.e. node of part of document with include commands * @property includeList - list of files to be included. */ public data class IncludeDependency( val parentNode: MdAstParent, - val dependentNode: Iterator, + val dependentNode: MdAstElement, val includeList: List ) : DependencyGraphEdge