| 313 | } |
| 314 | |
| 315 | FunctionType 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 | |
| 324 | FunctionType const* OverrideProxy::originalFunctionType() const |
| 325 | { |
no test coverage detected