Lines Matching refs:base
83 static std::string MakeAbsolute(const std::string &path, const std::string &base)
85 return IsAbsolute(path) ? path : JoinPaths(base, path);
90 ArkTsConfig::Pattern::Pattern(std::string value, std::string base) : value_(std::move(value)), base_(std::move(base))
138 static std::string ResolveConfigLocation(const std::string &relPath, const std::string &base)
140 auto resolvedPath = MakeAbsolute(relPath, base);
141 auto newBase = base;
159 auto base = ArkTsConfig(basePath);
160 if (!Check(base.Parse(), "Failed to parse base config: ", extends)) {
164 Inherit(base);
374 void ArkTsConfig::Inherit(const ArkTsConfig &base)
376 baseUrl_ = base.baseUrl_;
377 outDir_ = base.outDir_;
378 rootDir_ = base.rootDir_;
379 paths_ = base.paths_;
380 files_ = base.files_;
382 include_ = base.include_;
383 exclude_ = base.exclude_;
474 static fs::path Relative(const fs::path &src, const fs::path &base)
478 while (!fs::equivalent(tmpPath, base)) {