| 202 | } |
| 203 | |
| 204 | Declaration 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 | |
| 212 | std::vector<Declaration const*> NameAndTypeResolver::pathFromCurrentScopeWithAllDeclarations( |
| 213 | std::vector<ASTString> const& _path, |
no test coverage detected