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

Function isBreakableBefore

unittests/catch.hpp:5270–5273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5268 return chars.find( c ) != std::string::npos;
5269 }
5270 inline auto isBreakableBefore( char c ) -> bool {
5271 static std::string chars = "[({<|";
5272 return chars.find( c ) != std::string::npos;
5273 }
5274 inline auto isBreakableAfter( char c ) -> bool {
5275 static std::string chars = "])}>.,:;*+-=&/\\";
5276 return chars.find( c ) != std::string::npos;

Callers 1

isBoundaryMethod · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected