public override void Iterate(MemberIterator iter, Action <Int32, Expr> action) { iter.InBrace(); for (Int32 i = 0; i < this.initrs.Count; ++i) { this.initrs[i].Iterate(iter, action); if (i != this.initrs.Count - 1) { iter.Next(); } } iter.OutBrace(); }
public override Initr ConformType(MemberIterator iter) { iter.InBrace(); List <Initr> initrs = new List <Initr>(); for (Int32 i = 0; i < this.initrs.Count; ++i) { initrs.Add(this.initrs[i].ConformType(iter)); if (i != this.initrs.Count - 1) { iter.Next(); } } iter.OutBrace(); return(new InitList(initrs)); }
public override void Iterate(MemberIterator iter, Action<Int32, Expr> action) { iter.InBrace(); for (Int32 i = 0; i < this.initrs.Count; ++i) { this.initrs[i].Iterate(iter, action); if (i != this.initrs.Count - 1) { iter.Next(); } } iter.OutBrace(); }
public override Initr ConformType(MemberIterator iter) { iter.InBrace(); List<Initr> initrs = new List<Initr>(); for (Int32 i = 0; i < this.initrs.Count; ++i) { initrs.Add(this.initrs[i].ConformType(iter)); if (i != this.initrs.Count - 1) { iter.Next(); } } iter.OutBrace(); return new InitList(initrs); }