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

Function revertStringsFromString

libsolidity/interface/DebugSettings.h:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53inline std::optional<RevertStrings> revertStringsFromString(std::string const& _str)
54{
55 for (auto i: {RevertStrings::Default, RevertStrings::Strip, RevertStrings::Debug, RevertStrings::VerboseDebug})
56 if (revertStringsToString(i) == _str)
57 return i;
58 return std::nullopt;
59}
60
61}

Callers 3

SemanticTestMethod · 0.85
parseInputMethod · 0.85
processArgsMethod · 0.85

Calls 1

revertStringsToStringFunction · 0.85

Tested by 1

SemanticTestMethod · 0.68