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

Method isLibraryFunctionParameter

libsolidity/ast/AST.cpp:810–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808}
809
810bool VariableDeclaration::isLibraryFunctionParameter() const
811{
812 if (!isCallableOrCatchParameter())
813 return false;
814 if (auto const* funDef = dynamic_cast<FunctionDefinition const*>(scope()))
815 return funDef->libraryFunction();
816 return false;
817}
818
819bool VariableDeclaration::hasReferenceOrMappingType() const
820{

Callers 1

visitMethod · 0.80

Calls 1

libraryFunctionMethod · 0.80

Tested by

no test coverage detected