diff options
Diffstat (limited to 'AST.cpp')
-rw-r--r-- | AST.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -382,6 +382,27 @@ vector<pair<FixedHash<4>, FunctionTypePointer>> const& ContractDefinition::getIn return *m_interfaceFunctionList; } +unique_ptr<string> ContractDefinition::devDocumentation() const +{ + return unique_ptr<string>(new string(m_devDocumentation)); +} + +void ContractDefinition::setDevDocumentation(string const& _devDocumentation) +{ + m_devDocumentation = _devDocumentation; +} + +std::unique_ptr<string> ContractDefinition::userDocumentation() const +{ + return unique_ptr<string>(new string(m_userDocumentation)); +} + +void ContractDefinition::setUserDocumentation(string const& _userDocumentation) +{ + m_userDocumentation = _userDocumentation; +} + + vector<Declaration const*> const& ContractDefinition::getInheritableMembers() const { if (!m_inheritableMembers) |