diff options
author | chriseth <c@ethdev.com> | 2017-01-21 02:21:43 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-21 02:22:39 +0800 |
commit | 0ef460461ac280a9f8086d62d831dc9f7d2f5319 (patch) | |
tree | 8dd8f0b6007ed7979f5190bce87f1918a8c0f205 /libsolidity/ast | |
parent | df4ef74199392e9b29823d68e6a58dabd490e037 (diff) | |
download | dexon-solidity-0ef460461ac280a9f8086d62d831dc9f7d2f5319.tar.gz dexon-solidity-0ef460461ac280a9f8086d62d831dc9f7d2f5319.tar.zst dexon-solidity-0ef460461ac280a9f8086d62d831dc9f7d2f5319.zip |
Check if constructor is public or not.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/ASTAnnotations.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h index 9c4c3ae8..61e97a55 100644 --- a/libsolidity/ast/ASTAnnotations.h +++ b/libsolidity/ast/ASTAnnotations.h @@ -80,6 +80,8 @@ struct ContractDefinitionAnnotation: TypeDeclarationAnnotation, DocumentedAnnota { /// Whether all functions are implemented. bool isFullyImplemented = true; + /// Whether a public constructor (even the default one) is available. + bool hasPublicConstructor = true; /// List of all (direct and indirect) base contracts in order from derived to /// base, including the contract itself. std::vector<ContractDefinition const*> linearizedBaseContracts; |