finesse.tracing.ctracer.TraceTree.add_left

TraceTree.add_left(self, TraceTree sub_tree) TraceTree

Add a left sub-tree to the tree.

Parameters

sub_tree : TraceTree

The tree to add to the left.

Returns

sub_tree : TraceTree

The same tree that was added. This is useful for looping over a single branch of the tree as a parent tree can be set to the return of this method on each iteration.