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

Method match

unittests/catch.hpp:2965–2968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2963 Equals( NSString* substr ) : StringHolder( substr ){}
2964
2965 bool match( NSString* str ) const override {
2966 return (str != nil || m_substr == nil ) &&
2967 [str isEqualToString:m_substr];
2968 }
2969
2970 std::string describe() const override {
2971 return "equals string: " + Catch::Detail::stringify( m_substr );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected