achieve some part of the declarationparser