typedefinitionparser is achieved firstly