| 492 | } |
| 493 | |
| 494 | Type const* FunctionDefinition::typeViaContractName() const |
| 495 | { |
| 496 | if (libraryFunction()) |
| 497 | { |
| 498 | if (isPublic()) |
| 499 | return FunctionType(*this).asExternallyCallableFunction(true); |
| 500 | else |
| 501 | return TypeProvider::function(*this, FunctionType::Kind::Internal); |
| 502 | } |
| 503 | else |
| 504 | return TypeProvider::function(*this, FunctionType::Kind::Declaration); |
| 505 | } |
| 506 | |
| 507 | std::string FunctionDefinition::externalSignature() const |
| 508 | { |
no test coverage detected