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

Function isWhitespace

unittests/catch.hpp:5266–5269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5264namespace Catch { namespace clara { namespace TextFlow {
5265
5266 inline auto isWhitespace( char c ) -> bool {
5267 static std::string chars = " \t\n\r";
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;

Callers 3

isBoundaryMethod · 0.85
calcLengthMethod · 0.85
operator ++Method · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected