Store super function.

This commit is contained in:
chriseth
2017-09-06 13:50:49 +02:00
parent eacee5b25c
commit 342367d5dc
4 changed files with 8 additions and 0 deletions
+3
View File
@@ -94,6 +94,9 @@ 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;
};
struct EventDefinitionAnnotation: ASTAnnotation, DocumentedAnnotation