| 7 | namespace FC { namespace FE { |
| 8 | |
| 9 | CodeParser::CodeParser(const std::string &path) { |
| 10 | this->fs = std::fstream(); |
| 11 | this->fs.open(path.c_str(), std::fstream::in); |
| 12 | if (!this->fs.is_open()) { |
| 13 | std::cout << "[Error] code file open failed." << std::endl; |
| 14 | exit(-1); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | CodeParser::~CodeParser() { |
| 19 | this->fs.close(); |
nothing calls this directly
no outgoing calls
no test coverage detected