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