INTERNAL
Validate node and calculate its type.
super.validate(context);
if ((left != null) && (right != null)) {
left.validateParameter(context, right.getType());
right.validateParameter(context, left.getType());
}
TypeHelper typeHelper = context.getTypeHelper();
setType(typeHelper.getBooleanType());