return new CastEvaluation(input.build(), cast, sourceInstance, targetInstance);
}
@Override
public CompoundExplainer getExplainer(ExplainContext context) {
CompoundExplainer ex = new TExpressionExplainer(Type.FUNCTION, "CAST", context);
ex.addAttribute(Label.OPERAND, input.getExplainer(context));
ex.addAttribute(Label.OUTPUT_TYPE, PrimitiveExplainer.getInstance(targetInstance.toStringConcise(false)));
return ex;
}