add getType pure method for expression base class