build

fun build(): <Error class: unknown class>

Builds the Node. Node.children is null when no child was added (distinct from an empty list), preserving the spec's absent-vs-empty distinction.