diff options
author | Christian <c@ethdev.com> | 2015-01-30 05:50:20 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-30 05:50:20 +0800 |
commit | cfb55901cc963523ca1defe232728f195a818228 (patch) | |
tree | 69110bff671995fb49805678d05d0687b4105429 /AST.h | |
parent | 3701543ae8dd8ffbfd58e5648d45699468f10a55 (diff) | |
download | dexon-solidity-cfb55901cc963523ca1defe232728f195a818228.tar.gz dexon-solidity-cfb55901cc963523ca1defe232728f195a818228.tar.zst dexon-solidity-cfb55901cc963523ca1defe232728f195a818228.zip |
Fallback functions.
Diffstat (limited to 'AST.h')
-rwxr-xr-x | AST.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -235,8 +235,10 @@ public: std::vector<ContractDefinition const*> const& getLinearizedBaseContracts() const { return m_linearizedBaseContracts; } void setLinearizedBaseContracts(std::vector<ContractDefinition const*> const& _bases) { m_linearizedBaseContracts = _bases; } - /// Returns the constructor or nullptr if no constructor was specified + /// Returns the constructor or nullptr if no constructor was specified. FunctionDefinition const* getConstructor() const; + /// Returns the fallback function or nullptr if no constructor was specified. + FunctionDefinition const* getFallbackFunction() const; private: void checkIllegalOverrides() const; |