Example #1
0
 public void Accept(IValueVisitor visitor)
 {
     visitor.Visit(Normal);
     visitor.Visit(A);
     visitor.Visit(B);
     visitor.Visit(C);
 }
Example #2
0
 public override T Accept <T>(IValueVisitor <T> visitor)
 {
     return(visitor.Visit(this));
 }
Example #3
0
 public override void Accept(IValueVisitor visitor)
 {
     visitor.Visit(this);
 }
Example #4
0
 public void Accept(IValueVisitor visitor)
 => visitor.Visit(this);
Example #5
0
 T IValue.Accept <T> (IValueVisitor <T> visitor)
 {
     return(visitor.Visit(this));
 }
Example #6
0
 public override string Accept(IValueVisitor <string> visitor) => visitor.Visit(this);
Example #7
0
 public string Accept(IValueVisitor <string> visitor)
 {
     return(visitor.Visit(this));
 }