MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isBreakableBefore

Function isBreakableBefore

extlibs/catch/include/catch/catch.hpp:8163–8166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8161 return chars.find(c) != std::string::npos;
8162}
8163inline auto isBreakableBefore(char c) -> bool {
8164 static std::string chars = "[({<|";
8165 return chars.find(c) != std::string::npos;
8166}
8167inline auto isBreakableAfter(char c) -> bool {
8168 static std::string chars = "])}>.,:;*+-=&/\\";
8169 return chars.find(c) != std::string::npos;

Callers 1

isBoundaryMethod · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected