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

Function isAnyEthdebugRequested

libsolidity/interface/StandardCompiler.cpp:321–332  ·  view source on GitHub ↗

@returns true if any ethdebug output (global or per-contract) was requested.

Source from the content-addressed store, hash-verified

319
320/// @returns true if any ethdebug output (global or per-contract) was requested.
321bool isAnyEthdebugRequested(Json const& _outputSelection)
322{
323 if (!_outputSelection.is_object())
324 return false;
325
326 static std::array constexpr ethdebugArtifacts{
327 "evm.bytecode.ethdebug", "evm.deployedBytecode.ethdebug",
328 "ethdebug.resources", "ethdebug.compilation"
329 };
330
331 return areArtifactsRequested(_outputSelection, ethdebugArtifacts);
332}
333
334/// @returns true if the given global ethdebug output was requested via */*.
335bool isEthdebugGlobalOutputRequested(Json const& _outputSelection, std::string const& _artifact)

Callers 2

parseInputMethod · 0.85

Calls 1

areArtifactsRequestedFunction · 0.85

Tested by

no test coverage detected