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

Method baseFunctions

libsolidity/analysis/OverrideChecker.cpp:231–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231std::set<OverrideProxy> OverrideProxy::baseFunctions() const
232{
233 return std::visit(GenericVisitor{
234 [&](auto const* _item) -> std::set<OverrideProxy> {
235 std::set<OverrideProxy> ret;
236 for (auto const* f: _item->annotation().baseFunctions)
237 ret.insert(makeOverrideProxy(*f));
238 return ret;
239 }
240 }, m_item);
241}
242
243void OverrideProxy::storeBaseFunction(OverrideProxy const& _base) const
244{

Callers 2

visitMethod · 0.80

Calls 2

makeOverrideProxyFunction · 0.85
insertMethod · 0.80

Tested by

no test coverage detected