aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTAnnotations.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-29 23:07:32 +0800
committerchriseth <chris@ethereum.org>2017-09-06 19:50:49 +0800
commit342367d5dcb897d1ef3bbc00853538859773ed37 (patch)
treea8201102ef9e0176e33b1cc35783a4dd7c7abfca /libsolidity/ast/ASTAnnotations.h
parenteacee5b25c1edbcf3e32128bd28bce5e58fc2a74 (diff)
downloaddexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar
dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar.gz
dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar.bz2
dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar.lz
dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar.xz
dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar.zst
dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.zip
Store super function.
Diffstat (limited to 'libsolidity/ast/ASTAnnotations.h')
-rw-r--r--libsolidity/ast/ASTAnnotations.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h
index fd9efb4d..3d4236cc 100644
--- a/libsolidity/ast/ASTAnnotations.h
+++ b/libsolidity/ast/ASTAnnotations.h
@@ -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