@classmethod
def _flat(cls, node):
    """
        Turn the node into either a tree's entries or a single-item array.
        """
    return tuple(node.entries()) if isinstance(node, cls) else (node,)
