typedeclarationparser is achieved initiallly