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

Method reconstructExpression

unittests/catch.hpp:5068–5078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5066 resultType(_resultType) {}
5067
5068 std::string AssertionResultData::reconstructExpression() const {
5069
5070 if( reconstructedExpression.empty() ) {
5071 if( lazyExpression ) {
5072 ReusableStringStream rss;
5073 rss << lazyExpression;
5074 reconstructedExpression = rss.str();
5075 }
5076 }
5077 return reconstructedExpression;
5078 }
5079
5080 AssertionResult::AssertionResult( AssertionInfo const& info, AssertionResultData const& data )
5081 : m_info( info ),

Callers 1

getExpandedExpressionMethod · 0.80

Calls 2

emptyMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected