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

Method resolveName

libsolidity/analysis/NameAndTypeResolver.cpp:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188std::vector<Declaration const*> NameAndTypeResolver::resolveName(ASTString const& _name, ASTNode const* _scope) const
189{
190 auto iterator = m_scopes.find(_scope);
191 if (iterator == end(m_scopes))
192 return std::vector<Declaration const*>({});
193 return iterator->second->resolveName(_name);
194}
195
196std::vector<Declaration const*> NameAndTypeResolver::nameFromCurrentScope(ASTString const& _name, bool _includeInvisibles) const
197{

Calls 1

findMethod · 0.45

Tested by

no test coverage detected