MCPcopy Create free account
hub / github.com/catchorg/Catch2 / write

Method write

extras/catch_amalgamated.cpp:4747–4753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4745 }
4746
4747 JsonValueWriter JsonObjectWriter::write( StringRef key ) {
4748 JsonUtils::appendCommaNewline(
4749 m_os, m_should_comma, m_indent_level + 1 );
4750
4751 m_os << '"' << key << "\": ";
4752 return JsonValueWriter{ m_os, m_indent_level + 1 };
4753 }
4754
4755 JsonArrayWriter::JsonArrayWriter( std::ostream& os ):
4756 JsonArrayWriter{ os, 0 } {}

Callers 15

check_outputsFunction · 0.45
updateVersionFileMethod · 0.45
updateCmakeFileFunction · 0.45
updateMesonFileFunction · 0.45
updateVersionDefineFunction · 0.45
updateVersionPlaceholderFunction · 0.45
concatenate_fileFunction · 0.45
generate_headerFunction · 0.45
generate_cppFunction · 0.45
outputMarkdownFunction · 0.45
fixFileFunction · 0.45
Json.tests.cppFile · 0.45

Calls

no outgoing calls

Tested by 1

check_outputsFunction · 0.36