BooleanExpression class implementation.