withChildren abstract method

LatexNode withChildren(
  1. List<LatexNode> newChildren
)

Rebuilds itself with a new list of child nodes. The order and number of child nodes must match the return value of children. Leaf nodes return themselves.

Implementation

LatexNode withChildren(List<LatexNode> newChildren);