added evaluateExpression method to replace expressionType and expressionValue()