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