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; }
public override Statement VisitRepeat(Repeat repeat) { throw new NotImplementedException("Node type not yet supported"); }
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); }