public CodePreTestLoopStatement While( CodeExpression exp, Action generateBody) { var w = new CodePreTestLoopStatement { Test = exp, }; var oldScope = Scope; Scope = w.Body; generateBody(); Scope = oldScope; Scope.Add(w); return w; }
public int VisitPreTestLoop(CodePreTestLoopStatement l) { Analyze(this.path, l.Body); return(0); }