Solidity expression compiler

Will there be other category types? If so, then another else? If not, then can getCategoryType be eliminated?