aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-12 22:19:04 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commite7f40863ef223c47dffe69c812d363b7553151d1 (patch)
treecde05328a9c7aeffd04cb1e893c2328536178077 /Types.h
parenta989f6f97a9fd5615500e561f51b5c160df08183 (diff)
downloaddexon-solidity-e7f40863ef223c47dffe69c812d363b7553151d1.tar.gz
dexon-solidity-e7f40863ef223c47dffe69c812d363b7553151d1.tar.zst
dexon-solidity-e7f40863ef223c47dffe69c812d363b7553151d1.zip
Correcting and testing enum member access
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Types.h b/Types.h
index 70703938..0b576bd3 100644
--- a/Types.h
+++ b/Types.h
@@ -379,8 +379,9 @@ public:
virtual bool operator==(Type const& _other) const override;
virtual unsigned getSizeOnStack() const override { return 1; /*@todo*/ }
virtual std::string toString() const override;
+ virtual bool isValueType() const override { return true; }
- virtual MemberList const& getMembers() const override;
+ EnumDefinition const& getEnumDefinition() const { return m_enum; }
private:
EnumDefinition const& m_enum;