create_tree_builder_from_tree


Description:

public TreeBuilder? create_tree_builder_from_tree (Tree tree) throws Error

Create a tree builder for initialized with tree.

To create an empty tree builder, use create_tree_builder instead.

Parameters:

tree

a Tree.

Returns:

a new TreeBuilder object, or null if there was an error.