MutableAstAttributes
constructor(root: NestableNode? = null, positionalLabels: MutableMap<Node, String> = mutableMapOf(), locations: MutableMap<LocationTrackableNode, SectionLocation> = mutableMapOf(), linkDefinitions: MutableList<LinkDefinition> = mutableListOf(), functionCalls: MutableList<FunctionCallNode> = mutableListOf(), hasCode: Boolean = false, hasMath: Boolean = false, hasMermaidDiagram: Boolean = false, tableOfContents: TableOfContents? = null)
Parameters
root
the root node of the tree. According to the architecture, this is set right after the parsing stage
locations
the locations (in terms of section indices) of the nodes that request their location to be tracked. This is populated in the tree traversal stage of the pipeline
linkDefinitions
the defined links, which can be referenced by other nodes
functionCalls
the function calls to be later executed
hasCode
whether there is at least one code block.
hasMath
whether there is at least one math block or inline.