def read_string(self, content):
header_file = utils.create_temp_file_name(suffix='<STR_LIT>')<EOL>with open(header_file, "<STR_LIT>") as f:<EOL><INDENT>f.write(content)<EOL><DEDENT>try:<EOL><INDENT>decls = self.read_file(header_file)<EOL><DEDENT>except Exception:<EOL><INDENT>utils.remove_file_no_raise(header_file, self.__config)<EOL>raise<EOL><DEDENT>utils.remove_file_no_raise(header_file, self.__config)<EOL>return decls<EOL>
Reads a Python string that contains C++ code, and return
the declarations tree.