Move public constructor property into AST itself.

This commit is contained in:
chriseth
2017-03-06 14:12:42 +01:00
parent ca4e2933dd
commit f300bdb020
5 changed files with 10 additions and 6 deletions
+2
View File
@@ -356,6 +356,8 @@ public:
/// Returns the constructor or nullptr if no constructor was specified.
FunctionDefinition const* constructor() const;
/// @returns true iff the constructor of this contract is public (or non-existing).
bool constructorIsPublic() const;
/// Returns the fallback function or nullptr if no fallback function was specified.
FunctionDefinition const* fallbackFunction() const;