public ZTry(Block body, WithList catchers) : this() { this.body = body; this.catchers = catchers; }
private ZTry VisitZTry(ZTry Try) { Try.Body = this.VisitBlock(Try.Body); WithList newCatchers = new WithList(); for (int i = 0, n = Try.Catchers.Length; i < n; i++) newCatchers.Add(this.VisitWith(Try.Catchers[i])); Try.Catchers = newCatchers; return Try; }
public WithList Clone() { int n = this.length; WithList result = new WithList(n); result.length = n; With[] newElements = result.elements; for (int i = 0; i < n; i++) newElements[i] = this.elements[i]; return result; }