added docs for get_type_of_expression