示例#1
0
 @Override
 public void visit(NewArrayExpr expr) {
   expr.getLength().acceptVisitor(this);
   Expr length = resultExpr;
   expr.setLength(length);
   resultExpr = expr;
 }
示例#2
0
 public Object visit(NewArrayExpr node) {
   // TODO changed here
   return layoutUnary("new " + node.getType() + "[]", node.getSizes().get(0));
 }