示例#1
0
 private void Execute(Stmt stmt)
 {
     stmt.Accept(this);
 }
示例#2
0
 public While(Expr condition, Stmt body)
 {
     Condition = condition;
     Body      = body;
 }
示例#3
0
 private void Resolve(Stmt stmt)
 {
     stmt.Accept(this);
 }
示例#4
0
 public If(Expr condition, Stmt thenBranch, Stmt elseBranch)
 {
     Condition  = condition;
     ThenBranch = thenBranch;
     ElseBranch = elseBranch;
 }