typedef TreeNodeUnaryOperatorWithParent<K> = TreeNode<K>? Function( TreeNode<K>? parent, TreeNode<K> node);