MCPcopy Create free account
hub / github.com/argotorg/solidity / printSource

Method printSource

test/libsolidity/ASTJSONTest.cpp:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void ASTJSONTest::printSource(std::ostream& _stream, std::string const& _linePrefix, bool const) const
290{
291 for (auto const& source: m_sources)
292 {
293 if (m_sources.size() > 1 || source.first != "a")
294 printPrefixed(_stream, sourceDelimiter + source.first + " ====\n", _linePrefix);
295 printPrefixed(_stream, source.second, _linePrefix);
296 _stream << std::endl;
297 }
298}
299
300void ASTJSONTest::printUpdatedExpectations(std::ostream&, std::string const&) const
301{

Callers 2

processMethod · 0.45
updateTestCaseMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected