assertNodeByName
Asserts the existence of a node by its name within the stage structure and returns a reference to it. If the node with the given name has not been asserted previously, it creates a new NamedNode
reference and records it in the nodes
map for tracking.
Return
a NodeReference
for the node identified by the given name.
Parameters
name
the name of the node to assert or retrieve.