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

Method externalFunctionType

libsolidity/analysis/OverrideChecker.cpp:315–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315FunctionType const* OverrideProxy::externalFunctionType() const
316{
317 return std::visit(GenericVisitor{
318 [&](FunctionDefinition const* _item) { return FunctionType(*_item).asExternallyCallableFunction(false); },
319 [&](VariableDeclaration const* _item) { return FunctionType(*_item).asExternallyCallableFunction(false); },
320 [&](ModifierDefinition const*) -> FunctionType const* { solAssert(false, "Requested function type of modifier."); return nullptr; }
321 }, m_item);
322}
323
324FunctionType const* OverrideProxy::originalFunctionType() const
325{

Callers 1

checkOverrideMethod · 0.80

Calls 2

FunctionTypeClass · 0.70

Tested by

no test coverage detected