| 3749 | } |
| 3750 | |
| 3751 | FunctionTypePointer FunctionType::withBoundFirstArgument() const |
| 3752 | { |
| 3753 | solAssert(!m_parameterTypes.empty(), ""); |
| 3754 | solAssert(!gasSet(), ""); |
| 3755 | solAssert(!valueSet(), ""); |
| 3756 | solAssert(!saltSet(), ""); |
| 3757 | Options options = Options::fromFunctionType(*this); |
| 3758 | options.hasBoundFirstArgument = true; |
| 3759 | return TypeProvider::function( |
| 3760 | m_parameterTypes, |
| 3761 | m_returnParameterTypes, |
| 3762 | m_parameterNames, |
| 3763 | m_returnParameterNames, |
| 3764 | m_kind, |
| 3765 | m_stateMutability, |
| 3766 | m_declaration, |
| 3767 | options |
| 3768 | ); |
| 3769 | } |
| 3770 | |
| 3771 | FunctionTypePointer FunctionType::asExternallyCallableFunction(bool _inLibrary) const |
| 3772 | { |
no test coverage detected