public virtual Statement VisitRepeat(Repeat repeat)
 {
     if (repeat == null) return null;
     repeat.Body = this.VisitBlock(repeat.Body);
     repeat.Condition = this.VisitExpression(repeat.Condition);
     return repeat;
 }
Exemple #2
0
 public override Statement VisitRepeat(Repeat repeat)
 {
     throw new NotImplementedException("Node type not yet supported");
 }
Exemple #3
0
 public override Statement VisitRepeat(Repeat repeat)
 {
     if (repeat == null) return null;
     return base.VisitRepeat((Repeat)repeat.Clone());
 }
 public EventingVisitor(Action<Repeat> visitRepeat) { VisitedRepeat += visitRepeat; } public event Action<Repeat> VisitedRepeat; public override Statement VisitRepeat(Repeat repeat) { if (VisitedRepeat != null) VisitedRepeat(repeat); return base.VisitRepeat(repeat); }