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

Method toString

libsolidity/ast/Types.cpp:512–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512std::string AddressType::toString(bool) const
513{
514 if (m_stateMutability == StateMutability::Payable)
515 return "address payable";
516 else
517 return "address";
518}
519
520std::string AddressType::canonicalName() const
521{

Callers 15

operator()Method · 0.45
generateMethod · 0.45
formatTypeMethod · 0.45
gasEstimatesMethod · 0.45
endVisitMethod · 0.45
endVisitMethod · 0.45
visitMethod · 0.45
endVisitMethod · 0.45
fitsIntegerTypeFunction · 0.45
toStringInParenthesesFunction · 0.45
humanReadableNameMethod · 0.45

Calls 14

isSignedFunction · 0.85
toHexFunction · 0.85
asBytesFunction · 0.85
isStringFunction · 0.85
toStringInParenthesesFunction · 0.85
stateMutabilityToStringFunction · 0.85
strMethod · 0.80
isLibraryMethod · 0.80
scopeMethod · 0.80
toStringFunction · 0.50
nameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected