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

Function formatExpressions

libsolidity/formal/ExpressionFormatter.cpp:354–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354std::vector<std::optional<std::string>> formatExpressions(
355 std::vector<smtutil::Expression> const& _exprs,
356 std::vector<frontend::Type const*> const& _types
357)
358{
359 solAssert(_exprs.size() == _types.size());
360 std::vector<std::optional<std::string>> strExprs;
361 for (unsigned i = 0; i < _exprs.size(); ++i)
362 strExprs.push_back(expressionToString(_exprs.at(i), _types.at(i)));
363 return strExprs;
364}
365
366}

Callers 5

formatSummaryCallMethod · 0.85
summaryStateValuesMethod · 0.85
localVariableValuesMethod · 0.85

Calls 3

expressionToStringFunction · 0.85
atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected