Replace superFunction by baseFunctions in AST annotations and JSON AST.

This commit is contained in:
Daniel Kirchner
2019-12-05 03:33:32 +01:00
parent 6c0660ac66
commit 8b35918ad0
5 changed files with 7 additions and 7 deletions
+2 -3
View File
@@ -106,9 +106,8 @@ struct ContractDefinitionAnnotation: TypeDeclarationAnnotation, DocumentedAnnota
struct FunctionDefinitionAnnotation: ASTAnnotation, DocumentedAnnotation
{
/// The function this function overrides, if any. This is always the closest
/// in the linearized inheritance hierarchy.
FunctionDefinition const* superFunction = nullptr;
/// The set of functions this function overrides.
std::set<FunctionDefinition const*> baseFunctions;
/// Pointer to the contract this function is defined in
ContractDefinition const* contract = nullptr;
};