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

Method isExternalCallableParameter

libsolidity/ast/AST.cpp:765–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765bool VariableDeclaration::isExternalCallableParameter() const
766{
767 if (!isCallableOrCatchParameter())
768 return false;
769
770 if (auto const* callable = dynamic_cast<CallableDeclaration const*>(scope()))
771 if (callable->visibility() == Visibility::External)
772 return !isReturnParameter();
773
774 return false;
775}
776
777bool VariableDeclaration::isPublicCallableParameter() const
778{

Callers 2

requireLValueMethod · 0.80
endVisitMethod · 0.80

Calls 1

visibilityMethod · 0.45

Tested by

no test coverage detected