diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-13 00:59:52 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 06:16:14 +0800 |
commit | 012e32942df6ef7e48ebf0735eca2cd8fe062af0 (patch) | |
tree | 28052abd11444c3200308d411cc751b93588d020 /AST.h | |
parent | e7f40863ef223c47dffe69c812d363b7553151d1 (diff) | |
download | dexon-solidity-012e32942df6ef7e48ebf0735eca2cd8fe062af0.tar dexon-solidity-012e32942df6ef7e48ebf0735eca2cd8fe062af0.tar.gz dexon-solidity-012e32942df6ef7e48ebf0735eca2cd8fe062af0.tar.bz2 dexon-solidity-012e32942df6ef7e48ebf0735eca2cd8fe062af0.tar.lz dexon-solidity-012e32942df6ef7e48ebf0735eca2cd8fe062af0.tar.xz dexon-solidity-012e32942df6ef7e48ebf0735eca2cd8fe062af0.tar.zst dexon-solidity-012e32942df6ef7e48ebf0735eca2cd8fe062af0.zip |
Enum type conversion and member value access.
- Added tests for the type conversion part.
- Enum member value access still needs some work
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -348,6 +348,9 @@ public: virtual TypePointer getType(ContractDefinition const*) const override; + /// @returns the value that the string has in the Enum + unsigned int getMemberValue(ASTString const& _member) const; + /// Checks that the members do not include any duplicate names void checkValidityOfMembers() const; |