mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added support for FunctionType::Kind::StringConcat and functions string.concat
This commit is contained in:
@@ -312,9 +312,13 @@ public:
|
||||
/// of the storage array into it.
|
||||
std::string copyArrayFromStorageToMemoryFunction(ArrayType const& _from, ArrayType const& _to);
|
||||
|
||||
/// @returns the name of a function that does concatenation of variadic number of bytes
|
||||
/// or fixed bytes
|
||||
std::string bytesConcatFunction(std::vector<Type const*> const& _argumentTypes);
|
||||
/// @returns the name of a function that does concatenation of variadic number of
|
||||
/// bytes if @a functionTypeKind is FunctionType::Kind::BytesConcat,
|
||||
/// or of strings, if @a functionTypeKind is FunctionType::Kind::StringConcat.
|
||||
std::string bytesOrStringConcatFunction(
|
||||
std::vector<Type const*> const& _argumentTypes,
|
||||
FunctionType::Kind _functionTypeKind
|
||||
);
|
||||
|
||||
/// @returns the name of a function that performs index access for mappings.
|
||||
/// @param _mappingType the type of the mapping
|
||||
|
||||
Reference in New Issue
Block a user