if (!node.isUndefinedType(true))
{
return;
}
HaxeTree leftOperand = node.getLeftOperand();
HaxeTree rightOperand = node.getRightOperand();
if (!leftOperand.isUndefinedType(true)
&& !rightOperand.isUndefinedType(true))
{
data = node;
ErrorPublisher.commitCastError(
rightOperand,
leftOperand.getHaxeType());
return;
}
if (leftOperand.isUndefinedType(true))
{
visit(leftOperand, data);
}
if (rightOperand.isUndefinedType(true))
{
visit(rightOperand, data);
}
}