simplify parsing of some operator types