public override void VisitLeaf(TreeLeaf leaf) { this.Depth += leaf.Depth; }
public abstract void VisitLeaf(TreeLeaf leaf);