make all setTYPE parse function return the same values
Identical signature for all setXXX functions
Create and fill TypeToParserFunc
Factor add the switch code in favor of TypeToParserFunc