public override void VisitLeaf(TreeLeaf leaf) { if (CurrentDepth > Depth) { Depth = CurrentDepth; } }
public abstract void VisitLeaf(TreeLeaf leaf);