constructRecursive

open override fun constructRecursive(node: Node, object: Any)

Apply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself. (no need to implement this method for non-recursive data structures). Fails with a reminder to provide the second step for a recursive structure

Parameters

node

composed Node

object

the instance constructed earlier by construct for the provided Node