aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-10 20:40:21 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commit86e1d671cc4ed9b89576c80e16e58a8019115068 (patch)
treecc0feacef2294265c96dea27e5810b442f107323 /AST.cpp
parenta295417f3476428c286f96433a42a96bfe29fee3 (diff)
downloaddexon-solidity-86e1d671cc4ed9b89576c80e16e58a8019115068.tar.gz
dexon-solidity-86e1d671cc4ed9b89576c80e16e58a8019115068.tar.zst
dexon-solidity-86e1d671cc4ed9b89576c80e16e58a8019115068.zip
Parsing an enum AST node
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/AST.cpp b/AST.cpp
index 0c34cea3..95014fa1 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -206,6 +206,12 @@ vector<pair<FixedHash<4>, FunctionTypePointer>> const& ContractDefinition::getIn
return *m_interfaceFunctionList;
}
+TypePointer EnumDeclaration::getType(ContractDefinition const*) const
+{
+ // LTODO
+ return nullptr;
+}
+
void InheritanceSpecifier::checkTypeRequirements()
{
m_baseName->checkTypeRequirements();
@@ -268,7 +274,9 @@ void EnumDefinition::checkValidityOfMembers() const
TypePointer EnumDefinition::getType(ContractDefinition const*) const
{
- return make_shared<TypeType>(make_shared<EnumType>(*this));
+ //LTODO:
+ return nullptr;
+ // return make_shared<TypeType>(make_shared<EnumType>(*this));
}
TypePointer FunctionDefinition::getType(ContractDefinition const*) const