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

Method functionKind

libsolidity/analysis/OverrideChecker.cpp:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306Token OverrideProxy::functionKind() const
307{
308 return std::visit(GenericVisitor{
309 [&](FunctionDefinition const* _item) { return _item->kind(); },
310 [&](ModifierDefinition const*) { return Token::Function; },
311 [&](VariableDeclaration const*) { return Token::Function; }
312 }, m_item);
313}
314
315FunctionType const* OverrideProxy::externalFunctionType() const
316{

Callers 1

checkOverrideMethod · 0.80

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected