public TypeValuePair evaluate() throws EvaluationException
{
final FormulaContext context = getContext();
final Type type = context.resolveReferenceType(name);
final Object value = context.resolveReference(name);
if (value == null)
{
throw EvaluationException.getInstance(LibFormulaErrorValue.ERROR_NA_VALUE);
}
return new TypeValuePair(type, value);