diff options
author | LianaHus <liana@ethdev.com> | 2015-09-01 00:44:29 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-09-08 19:12:00 +0800 |
commit | 1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4 (patch) | |
tree | 6ecb1323bec51a67a53d63bfd250f4ccfcee926c /libsolidity/GlobalContext.cpp | |
parent | 6f4a39c183a905b8e07da59c17bfd25c2febbf7f (diff) | |
download | dexon-solidity-1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4.tar.gz dexon-solidity-1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4.tar.zst dexon-solidity-1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4.zip |
renamed getter functions
Diffstat (limited to 'libsolidity/GlobalContext.cpp')
-rw-r--r-- | libsolidity/GlobalContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/GlobalContext.cpp b/libsolidity/GlobalContext.cpp index 80cebd76..a0f5396f 100644 --- a/libsolidity/GlobalContext.cpp +++ b/libsolidity/GlobalContext.cpp @@ -66,7 +66,7 @@ void GlobalContext::setCurrentContract(ContractDefinition const& _contract) m_currentContract = &_contract; } -vector<Declaration const*> GlobalContext::getDeclarations() const +vector<Declaration const*> GlobalContext::declarations() const { vector<Declaration const*> declarations; declarations.reserve(m_magicVariables.size()); @@ -75,7 +75,7 @@ vector<Declaration const*> GlobalContext::getDeclarations() const return declarations; } -MagicVariableDeclaration const* GlobalContext::getCurrentThis() const +MagicVariableDeclaration const* GlobalContext::currentThis() const { if (!m_thisPointer[m_currentContract]) m_thisPointer[m_currentContract] = make_shared<MagicVariableDeclaration>( @@ -84,7 +84,7 @@ MagicVariableDeclaration const* GlobalContext::getCurrentThis() const } -MagicVariableDeclaration const* GlobalContext::getCurrentSuper() const +MagicVariableDeclaration const* GlobalContext::currentSuper() const { if (!m_superPointer[m_currentContract]) m_superPointer[m_currentContract] = make_shared<MagicVariableDeclaration>( |