Пример #1
0
 public override void Accept(IVisitor visitor)
 {
     visitor.Visit(this);
 }
 public void Accept(IVisitor visitor)
 {
     visitor.Visit(this);
 }
Пример #3
0
 /// <summary>
 /// Accept method
 /// </summary>
 /// <param name="visitor"></param>
 /// <returns></returns>
 public override int Accept(IVisitor visitor)
 {
     return(visitor.Visit(this));
 }
Пример #4
0
 public double Accept(IVisitor visitor)
 {
     return(visitor.Visit(this));
 }
Пример #5
0
 /// <summary>
 /// Accept method
 /// </summary>
 /// <param name="visitor"></param>
 /// <returns></returns>
 public virtual int Accept(IVisitor visitor)
 {
     return(visitor.Visit(this));
 }