Lines Matching refs:resolvedPath
53 auto resolvedPath = UString(currentDirectory, allocator_);
54 resolvedPath.Append(pathDelimiter_);
55 resolvedPath.Append(importPath.Mutf8());
57 return AppendExtensionOrIndexFileIfOmitted(resolvedPath.View());
80 auto resolvedPath = arktsConfig_->ResolvePath(importPath.Mutf8());
81 if (!resolvedPath) {
86 return AppendExtensionOrIndexFileIfOmitted(UString(resolvedPath.value(), allocator_).View());
127 void ImportPathManager::AddToParseList(const StringView &resolvedPath, const ImportFlags importFlags)
131 const auto parseInfo = ParseInfo {resolvedPath, false, isImplicitPackageImport};
133 if (ark::os::file::File::IsDirectory(resolvedPath.Mutf8())) {
135 UnixWalkThroughDirectoryAndAddToParseList(resolvedPath, importFlags);
137 for (auto const &entry : fs::directory_iterator(resolvedPath.Mutf8())) {
151 [&resolvedPath](const ParseInfo &info) { return (info.sourcePath == resolvedPath); });
171 dynamicPaths.find(resolvedPath.Mutf8()) != dynamicPaths.cend()) {
176 if (!ark::os::file::File::IsRegularFile(resolvedPath.Mutf8())) {
177 throw Error(ErrorType::GENERIC, "", "Not an available source path: " + resolvedPath.Mutf8());
182 const std::size_t position = resolvedPath.Mutf8().find_last_of(pathDelimiter_);
183 if (isDefaultImport && resolvedPath.Substr(position + 1, resolvedPath.Length()).Is("Object.sts")) {