Beispiel #1
0
 public IfStmt(Expr Condition, Stmt ThenBranch, Stmt ElseBranch)
 {
     this.Condition  = Condition;
     this.ThenBranch = ThenBranch;
     this.ElseBranch = ElseBranch;
 }
Beispiel #2
0
 public WhileStmt(Expr Condition, Stmt Body)
 {
     this.Condition = Condition;
     this.Body      = Body;
 }
 private void Execute(Stmt stmt)
 {
     stmt.Accept(this);
 }