Ejemplo n.º 1
0
 public int VisitPostTestLoop(CodePostTestLoopStatement l)
 {
     Analyze(this.path, l.Body);
     return(0);
 }
Ejemplo n.º 2
0
 public CodePostTestLoopStatement DoWhile(
     Action generateBody,
     CodeExpression exp)
 {
     var dw = new CodePostTestLoopStatement
     {
         Test = exp,
     };
     Scope.Add(dw);
     var oldScope = Scope;
     Scope = dw.Body;
     generateBody();
     Scope = oldScope;
     return dw;
 }