aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-30 05:50:20 +0800
committerChristian <c@ethdev.com>2015-01-30 05:50:20 +0800
commitcfb55901cc963523ca1defe232728f195a818228 (patch)
tree69110bff671995fb49805678d05d0687b4105429 /AST.h
parent3701543ae8dd8ffbfd58e5648d45699468f10a55 (diff)
downloaddexon-solidity-cfb55901cc963523ca1defe232728f195a818228.tar.gz
dexon-solidity-cfb55901cc963523ca1defe232728f195a818228.tar.zst
dexon-solidity-cfb55901cc963523ca1defe232728f195a818228.zip
Fallback functions.
Diffstat (limited to 'AST.h')
-rwxr-xr-xAST.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/AST.h b/AST.h
index 6c207290..3dc63d33 100755
--- a/AST.h
+++ b/AST.h
@@ -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;