Create a tree builder for initialized with tree.
tree
To create an empty tree builder, use create_tree_builder instead.
a Tree.
a new TreeBuilder object, or null if there was an error.