| 1158 | static void clearSaved() { std::unique_lock<std::mutex> lock(savedVariables_Mutex); savedVariables.clear(); savedVariables_Save = true; savedVariables_Condition.notify_all(); } |
| 1159 | |
| 1160 | static auto makeString(const std::string str) -> std::string |
| 1161 | { |
| 1162 | std::string result = str; |
| 1163 | result.erase(std::remove(result.begin(), result.end(), '\''), result.end()); |
| 1164 | result = "'" + result + "'"; |
| 1165 | return result; |
| 1166 | } |
| 1167 | static bool isReserveSymbol(unsigned char ch) |
| 1168 | { |
| 1169 | return ch != '_' && ch < 0x80 && !std::isalnum(ch); |
no test coverage detected