mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update libsolidity/analysis/NameAndTypeResolver.h
Co-authored-by: Damian Wechman <damian.wechman.it@gmail.com>
This commit is contained in:
parent
18784cff81
commit
03409beb1d
@ -95,7 +95,7 @@ public:
|
|||||||
Declaration const* pathFromCurrentScope(std::vector<ASTString> const& _path) const;
|
Declaration const* pathFromCurrentScope(std::vector<ASTString> const& _path) const;
|
||||||
/// Resolves a path starting from the "current" scope, but also searches parent scopes.
|
/// Resolves a path starting from the "current" scope, but also searches parent scopes.
|
||||||
/// Should only be called during the initial resolving phase.
|
/// Should only be called during the initial resolving phase.
|
||||||
/// @note Returns an empty vector if any component in the path was not unique or not found otherwise all declarations along the path are returned.
|
/// @note Returns an empty vector if any component in the path was non-unique or not found. Otherwise, all declarations along the path are returned.
|
||||||
std::vector<Declaration const*> pathFromCurrentScopeWithAllDeclarations(std::vector<ASTString> const& _path) const;
|
std::vector<Declaration const*> pathFromCurrentScopeWithAllDeclarations(std::vector<ASTString> const& _path) const;
|
||||||
|
|
||||||
/// Generate and store warnings about declarations with the same name.
|
/// Generate and store warnings about declarations with the same name.
|
||||||
|
Loading…
Reference in New Issue
Block a user