Added support for the expression type determination. using a result type table and a determination algorithm