aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-13 00:59:52 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commit012e32942df6ef7e48ebf0735eca2cd8fe062af0 (patch)
tree28052abd11444c3200308d411cc751b93588d020 /Types.h
parente7f40863ef223c47dffe69c812d363b7553151d1 (diff)
downloaddexon-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 'Types.h')
-rw-r--r--Types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types.h b/Types.h
index 0b576bd3..15bd86b1 100644
--- a/Types.h
+++ b/Types.h
@@ -381,6 +381,8 @@ public:
virtual std::string toString() const override;
virtual bool isValueType() const override { return true; }
+ virtual bool isExplicitlyConvertibleTo(Type const& _convertTo) const override;
+
EnumDefinition const& getEnumDefinition() const { return m_enum; }
private: