コード例 #1
0
 @Override
 public boolean enterIfNode(final IfNode ifNode) {
   curStat =
       new IfTreeImpl(
           ifNode,
           translateExpr(ifNode.getTest()),
           translateBlock(ifNode.getPass()),
           translateBlock(ifNode.getFail()));
   return false;
 }
コード例 #2
0
 @Override
 public boolean enterIfNode(final IfNode ifNode) {
   // Test is never optimistic (always coerced to boolean).
   tagNeverOptimistic(ifNode.getTest());
   return true;
 }