NatSpec: Implement `@inheritdoc`

This commit is contained in:
Mathias Baumann
2020-07-20 18:32:18 +02:00
committed by Mathias Baumann
parent 6a1b1283fd
commit ba0a4de50d
18 changed files with 1082 additions and 219 deletions
+2
View File
@@ -79,6 +79,8 @@ struct StructurallyDocumentedAnnotation
/// Mapping docstring tag name -> content.
std::multimap<std::string, DocTag> docTags;
/// contract that @inheritdoc references if it exists
ContractDefinition const* inheritdocReference = nullptr;
};
struct SourceUnitAnnotation: ASTAnnotation