Merge branch 'feature/SNRK-70/dependecy-graph' into feature/SNRK-71/document-builder-implementation

This commit is contained in:
liubar.pa 2023-05-05 21:27:41 +03:00
commit cd85fcf329

View File

@ -25,12 +25,12 @@ public sealed interface DependencyGraphEdge {
* Include dependency edge. * Include dependency edge.
* *
* @property parentNode - node inside AST tree, that is parent for dependent node. * @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. * @property includeList - list of files to be included.
*/ */
public data class IncludeDependency( public data class IncludeDependency(
val parentNode: MdAstParent, val parentNode: MdAstParent,
val dependentNode: Iterator<MdAstElement>, val dependentNode: MdAstElement,
val includeList: List<FileName> val includeList: List<FileName>
) : DependencyGraphEdge ) : DependencyGraphEdge