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