diff options
author | Christian <c@ethdev.com> | 2014-12-04 00:45:12 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-04 01:51:59 +0800 |
commit | 254df50feab6bb4c9f013257591b73919e4013a5 (patch) | |
tree | f8258a07f87046e1695373bc6024af87f51f51be /GlobalContext.h | |
parent | 328387d6d0a14143f1634df11036a91fad85cec9 (diff) | |
download | dexon-solidity-254df50feab6bb4c9f013257591b73919e4013a5.tar.gz dexon-solidity-254df50feab6bb4c9f013257591b73919e4013a5.tar.zst dexon-solidity-254df50feab6bb4c9f013257591b73919e4013a5.zip |
Multi-source and multi-contract compiler.
Diffstat (limited to 'GlobalContext.h')
-rw-r--r-- | GlobalContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GlobalContext.h b/GlobalContext.h index 0166734c..fc3914d2 100644 --- a/GlobalContext.h +++ b/GlobalContext.h @@ -47,12 +47,13 @@ class GlobalContext: private boost::noncopyable public: GlobalContext(); void setCurrentContract(ContractDefinition const& _contract); + MagicVariableDeclaration* getCurrentThis() const; std::vector<MagicVariableDeclaration const*> getMagicVariables() const; + /// Returns a vector of all magic variables, excluding "this". std::vector<Declaration*> getDeclarations() const; private: - MagicVariableDeclaration* getCurrentThis() const; std::vector<std::shared_ptr<MagicVariableDeclaration>> m_magicVariables; ContractDefinition const* m_currentContract; std::map<ContractDefinition const*, std::shared_ptr<MagicVariableDeclaration>> mutable m_thisPointer; |