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

Function isReservedTag

unittests/catch.hpp:9849–9851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9847 return TestCaseInfo::None;
9848 }
9849 bool isReservedTag( std::string const& tag ) {
9850 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( tag[0] );
9851 }
9852 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
9853 CATCH_ENFORCE( !isReservedTag(tag),
9854 "Tag name: [" << tag << "] is not allowed.\n"

Callers 1

enforceNotReservedTagFunction · 0.85

Calls 2

parseSpecialTagFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected