| 62 | } |
| 63 | |
| 64 | static std::string readAll(const std::string& path) |
| 65 | { |
| 66 | std::ifstream f(path); |
| 67 | if (!f.is_open()) |
| 68 | return ""; |
| 69 | std::stringstream ss; |
| 70 | ss << f.rdbuf(); |
| 71 | return ss.str(); |
| 72 | } |
| 73 | |
| 74 | struct CodeBlock |
| 75 | { |
no test coverage detected