mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
renamed getter functions
This commit is contained in:
@@ -47,11 +47,11 @@ class GlobalContext: private boost::noncopyable
|
||||
public:
|
||||
GlobalContext();
|
||||
void setCurrentContract(ContractDefinition const& _contract);
|
||||
MagicVariableDeclaration const* getCurrentThis() const;
|
||||
MagicVariableDeclaration const* getCurrentSuper() const;
|
||||
MagicVariableDeclaration const* currentThis() const;
|
||||
MagicVariableDeclaration const* currentSuper() const;
|
||||
|
||||
/// @returns a vector of all implicit global declarations excluding "this".
|
||||
std::vector<Declaration const*> getDeclarations() const;
|
||||
std::vector<Declaration const*> declarations() const;
|
||||
|
||||
private:
|
||||
std::vector<std::shared_ptr<MagicVariableDeclaration const>> m_magicVariables;
|
||||
|
||||
Reference in New Issue
Block a user