The children node would have if it were condensed (see condenseCST),
computed from the raw tree without condensing it: ignored children are
dropped, unnamed containers dissolve into their own such children, and named
nodes, text leaves, and error nodes are kept as they are -- the original
nodes, not condensed rebuilds.
Nodes are immutable, so the result is cached per node in a WeakMap and the
same array is returned on every call; do not mutate it.
The children
nodewould have if it were condensed (see condenseCST), computed from the raw tree without condensing it: ignored children are dropped, unnamed containers dissolve into their own such children, and named nodes, text leaves, and error nodes are kept as they are -- the original nodes, not condensed rebuilds.Nodes are immutable, so the result is cached per node in a WeakMap and the same array is returned on every call; do not mutate it.