private ParsingException unsupportedReferenceWithFunction(Operation op) { String opName = op.name(); switch (op) { case SIZE_IS: opName = "SIZEOF"; break; } return new ParsingException("Only '==', '!=', '<>', 'DISTINCT FROM' or 'IN' are supported in " + opName); } }
@Override protected String visitLogicalBinaryExpression(LogicalBinaryExpression node, Void context) { return formatBinaryExpression(node.getOperation().toString(), node.getLeft(), node.getRight()); }