insert_after


Description:

public unowned Node<G> insert_after (Node<G> sibling, owned Node<G> node)

Inserts a Node beneath the parent after the given sibling.

Parameters:

this

the Node to place node under

sibling

the sibling Node to place node after. If sibling is null, the node is inserted as the first child of this.

node

the Node to insert

Returns:

the inserted Node