@Override protected R visitLogicalBinaryExpression(final LogicalBinaryExpression node, final C context) { process(node.getLeft(), context); process(node.getRight(), context); return null; }
@Override protected R visitLogicalBinaryExpression(final LogicalBinaryExpression node, final C context) { process(node.getLeft(), context); process(node.getRight(), context); return null; }
protected R visitLogicalBinaryExpression(final LogicalBinaryExpression node, final C context) { process(node.getLeft(), context); process(node.getRight(), context); return visitExpression(node, context); }
@Override protected String visitLogicalBinaryExpression(final LogicalBinaryExpression node, final Boolean unmangleNames) { return formatBinaryExpression(node.getType().toString(), node.getLeft(), node.getRight(), unmangleNames); }
@Override protected Node visitLogicalBinaryExpression( final LogicalBinaryExpression node, final Node parent) { node.setParent(parent); process(node.getLeft(), node); process(node.getRight(), node); return null; }
protected Node visitLogicalBinaryExpression( final LogicalBinaryExpression 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 LogicalBinaryExpression(node.getLocation().get(), node.getType(), (Expression) process(node.getLeft(), context), (Expression) process(node.getRight(), context) ); } else { return new LogicalBinaryExpression(node.getType(), (Expression) process(node.getLeft(), context), (Expression) process(node.getRight(), context) ); } }