aboutsummaryrefslogtreecommitdiffstats
path: root/GlobalContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'GlobalContext.h')
-rw-r--r--GlobalContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/GlobalContext.h b/GlobalContext.h
index dfdc6662..f861c67d 100644
--- a/GlobalContext.h
+++ b/GlobalContext.h
@@ -48,6 +48,7 @@ public:
GlobalContext();
void setCurrentContract(ContractDefinition const& _contract);
MagicVariableDeclaration const* getCurrentThis() const;
+ MagicVariableDeclaration const* getCurrentSuper() const;
/// @returns a vector of all implicit global declarations excluding "this".
std::vector<Declaration const*> getDeclarations() const;
@@ -56,6 +57,7 @@ private:
std::vector<std::shared_ptr<MagicVariableDeclaration const>> m_magicVariables;
ContractDefinition const* m_currentContract = nullptr;
std::map<ContractDefinition const*, std::shared_ptr<MagicVariableDeclaration const>> mutable m_thisPointer;
+ std::map<ContractDefinition const*, std::shared_ptr<MagicVariableDeclaration const>> mutable m_superPointer;
};
}