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

Method modifierType

libsolidity/analysis/OverrideChecker.cpp:333–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333ModifierType const* OverrideProxy::modifierType() const
334{
335 return std::visit(GenericVisitor{
336 [&](FunctionDefinition const*) -> ModifierType const* { solAssert(false, "Requested modifier type of function."); return nullptr; },
337 [&](VariableDeclaration const*) -> ModifierType const* { solAssert(false, "Requested modifier type of variable."); return nullptr; },
338 [&](ModifierDefinition const* _modifier) -> ModifierType const* { return TypeProvider::modifier(*_modifier); }
339 }, m_item);
340}
341
342
343Declaration const* OverrideProxy::declaration() const

Callers 1

checkOverrideMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected