mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move fullyQualified() name to Declaration
This commit is contained in:
committed by
Rhett Aultman
parent
0c98e4b2da
commit
f10bf36ae3
@@ -161,6 +161,7 @@ public:
|
||||
/// @returns the source name this declaration is present in.
|
||||
/// Can be combined with annotation().canonicalName to form a globally unique name.
|
||||
std::string sourceUnitName() const;
|
||||
std::string fullyQualifiedName() const { return sourceUnitName() + ":" + name(); }
|
||||
|
||||
virtual bool isLValue() const { return false; }
|
||||
virtual bool isPartOfExternalInterface() const { return false; }
|
||||
@@ -358,8 +359,6 @@ public:
|
||||
Json::Value const& devDocumentation() const;
|
||||
void setDevDocumentation(Json::Value const& _devDocumentation);
|
||||
|
||||
std::string fullyQualifiedName() const;
|
||||
|
||||
virtual TypePointer type() const override;
|
||||
|
||||
virtual ContractDefinitionAnnotation& annotation() const override;
|
||||
|
||||
Reference in New Issue
Block a user