コード例 #1
0
 public If(Expr condition, Stmt thenBranch, Stmt elseBranch)
 {
     this.condition  = condition;
     this.thenBranch = thenBranch;
     this.elseBranch = elseBranch;
 }
コード例 #2
0
 private void execute(Stmt stmt)
 {
     stmt.accept(this);
 }
コード例 #3
0
 public While(Expr condition, Stmt body)
 {
     this.condition = condition;
     this.body      = body;
 }
コード例 #4
0
ファイル: Resolver.cs プロジェクト: jingle-lang/jingle
 private void resolve(Stmt stmt)
 {
     stmt.accept(this);
 }