| 8157 | namespace TextFlow { |
| 8158 | |
| 8159 | inline auto isWhitespace(char c) -> bool { |
| 8160 | static std::string chars = " \t\n\r"; |
| 8161 | return chars.find(c) != std::string::npos; |
| 8162 | } |
| 8163 | inline auto isBreakableBefore(char c) -> bool { |
| 8164 | static std::string chars = "[({<|"; |
| 8165 | return chars.find(c) != std::string::npos; |
no test coverage detected