示例#1
0
 public override void Accept(Visitor visitor)
 {
     visitor.Visit(this);
     foreach (var child in Children)
     {
         child.Accept(visitor);
     }
 }
示例#2
0
 public override void Accept(Visitor visitor)
 {
     visitor.Visit(this);
 }
示例#3
0
 public virtual void Accept(Visitor visitor)
 {
 }