Add function selector to FunctionDefinition AST JSON

This commit is contained in:
Gaith Hallak
2019-12-16 15:16:54 +03:00
parent 200747e298
commit 371e6a4801
6 changed files with 29 additions and 0 deletions
+6
View File
@@ -708,6 +708,9 @@ public:
/// arguments separated by commas all enclosed in parentheses without any spaces.
std::string externalSignature() const;
/// @returns the external identifier of this function (the hash of the signature) as a hex string.
std::string externalIdentifierHex() const;
ContractDefinition::ContractKind inContractKind() const;
TypePointer type() const override;
@@ -807,6 +810,9 @@ public:
/// @returns a set of allowed storage locations for the variable.
std::set<Location> allowedDataLocations() const;
/// @returns the external identifier of this variable (the hash of the signature) as a hex string (works only for public state variables).
std::string externalIdentifierHex() const;
TypePointer type() const override;
/// @param _internal false indicates external interface is concerned, true indicates internal interface is concerned.