Exemple #1
0
 @Override
 public void visit(RaiseInstruction insn) {
   ThrowStatement stmt = new ThrowStatement();
   stmt.setLocation(currentLocation);
   stmt.setException(Expr.var(insn.getException().getIndex()));
   statements.add(stmt);
 }
 @Override
 public void visit(RaiseInstruction insn) {
   escaping[insn.getException().getIndex()] = true;
 }