build

fun build(consumer: (JSDescriptor<*>) -> Unit): JSDescriptor<T>

Builds the whole tree. consumer sees each descriptor as it is made, parent first.