aboutsummaryrefslogtreecommitdiffstats
path: root/GlobalContext.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-12-04 00:45:12 +0800
committerChristian <c@ethdev.com>2014-12-04 01:51:59 +0800
commit254df50feab6bb4c9f013257591b73919e4013a5 (patch)
treef8258a07f87046e1695373bc6024af87f51f51be /GlobalContext.h
parent328387d6d0a14143f1634df11036a91fad85cec9 (diff)
downloaddexon-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.h3
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;