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

Method streamReconstructedExpression

unittests/catch.hpp:2703–2710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2701 {}
2702
2703 void streamReconstructedExpression( std::ostream &os ) const override {
2704 auto matcherAsString = m_matcher.toString();
2705 os << Catch::Detail::stringify( m_arg ) << ' ';
2706 if( matcherAsString == Detail::unprintableString )
2707 os << m_matcherString;
2708 else
2709 os << matcherAsString;
2710 }
2711 };
2712
2713 using StringMatcher = Matchers::Impl::MatcherBase<std::string>;

Callers

nothing calls this directly

Calls 2

stringifyFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected