MCPcopy Create free account
hub / github.com/argotorg/solidity / pathFromCurrentScope

Method pathFromCurrentScope

libsolidity/analysis/NameAndTypeResolver.cpp:204–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204Declaration const* NameAndTypeResolver::pathFromCurrentScope(std::vector<ASTString> const& _path) const
205{
206 if (auto declarations = pathFromCurrentScopeWithAllDeclarations(_path); !declarations.empty())
207 return declarations.back();
208
209 return nullptr;
210}
211
212std::vector<Declaration const*> NameAndTypeResolver::pathFromCurrentScopeWithAllDeclarations(
213 std::vector<ASTString> const& _path,

Callers 1

resolveInheritDocMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected