Ejemplo n.º 1
0
 public While(Expr condition, Stmt body)
 {
     Condition = condition;
     Body      = body;
 }
Ejemplo n.º 2
0
 public If(Expr condition, Stmt thenBranch, Stmt elseBranch)
 {
     Condition  = condition;
     Thenbranch = thenBranch;
     Elsebranch = elseBranch;
 }
Ejemplo n.º 3
0
 private void Resolve(Stmt statement) => statement.Accept(this);