public override void Accept(IRegexResultTreeNodeVisitor visitor)
 {
     visitor.Visit(this, true);
     foreach (RegexResultTreeNode child in this.ChildNodes)
     {
         child.Accept(visitor);
     }
     visitor.Visit(this, false);
 }
 public abstract void Accept(IRegexResultTreeNodeVisitor visitor);
 public override void Accept(IRegexResultTreeNodeVisitor visitor)
 {
     visitor.Visit(this);
 }