@Override protected R visitArithmeticBinary(final ArithmeticBinaryExpression node, final C context) { process(node.getLeft(), context); process(node.getRight(), context); return null; }
@Override protected R visitArithmeticBinary(final ArithmeticBinaryExpression node, final C context) { process(node.getLeft(), context); process(node.getRight(), context); return null; }
@Override protected Node visitArithmeticBinary(final ArithmeticBinaryExpression node, final Node parent) { node.setParent(parent); process(node.getLeft(), node); process(node.getRight(), node); return null; }
protected R visitArithmeticBinary(final ArithmeticBinaryExpression node, final C context) { process(node.getLeft(), context); process(node.getRight(), context); return visitExpression(node, context); }
@Override protected String visitArithmeticBinary( final ArithmeticBinaryExpression node, final Boolean unmangleNames) { return formatBinaryExpression(node.getType().getValue(), node.getLeft(), node.getRight(), unmangleNames); }
protected Node visitArithmeticBinary( final ArithmeticBinaryExpression node, final Object context ) { // use an if/else block here (instead of isPresent.map(...).orElse(...)) so only one object // gets instantiated (issue #1784) if (node.getLocation().isPresent()) { return new ArithmeticBinaryExpression(node.getLocation().get(), node.getType(), (Expression) process(node.getLeft(), context), (Expression) process(node.getRight(), context)); } else { return new ArithmeticBinaryExpression(node.getType(), (Expression) process(node.getLeft(), context), (Expression) process(node.getRight(), context)); } }