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