NodeSupplement

data class NodeSupplement(var extrasBefore: List<Node.Extra> = listOf(), var extrasWithin: List<Node.Extra> = listOf(), var extrasAfter: List<Node.Extra> = listOf(), var tag: Any? = null)

Supplemental data for a node.

Constructors

Link copied to clipboard
constructor(extrasBefore: List<Node.Extra> = listOf(), extrasWithin: List<Node.Extra> = listOf(), extrasAfter: List<Node.Extra> = listOf(), tag: Any? = null)

Properties

Link copied to clipboard

list of extra nodes after the node.

Link copied to clipboard

list of extra nodes before the node.

Link copied to clipboard

list of extra nodes within the node.

Link copied to clipboard
var tag: Any?

can be used to store per-node state if desired.