Recursively generates tree.
This function is nested just for the sake of isolating state.
Generated using TypeDoc
Recursively generates tree.
This function is nested just for the sake of isolating state.