| 33 | { |
| 34 | |
| 35 | std::string IRNames::function(TypeEnvironment const& _env, FunctionDefinition const& _function, Type _type) |
| 36 | { |
| 37 | if (_function.isConstructor()) |
| 38 | return constructor(*_function.annotation().contract); |
| 39 | |
| 40 | return "fun_" + _function.name() + "_" + std::to_string(_function.id()) + "$" + TypeEnvironmentHelpers{_env}.canonicalTypeName(_type) + "$"; |
| 41 | } |
| 42 | |
| 43 | std::string IRNames::function(VariableDeclaration const& _varDecl) |
| 44 | { |
nothing calls this directly
no test coverage detected