36 ImportSolver(
unsigned debug,
const std::vector<std::filesystem::path>& libenv);
44 ImportSolver& setup(
const std::filesystem::path& root,
const std::vector<Import>& origin_imports);
46 void process(
const Node& origin_ast)
override;
48 [[nodiscard]]
const Node& ast()
const noexcept override;
53 std::filesystem::path
file;
70 std::pair<Node, bool> findAndReplaceImports(
const Node& ast);
80 std::vector<ImportWithSource> parseImport(
const std::filesystem::path& source,
const Import&
import);
89 [[nodiscard]] std::filesystem::path findFile(
const std::filesystem::path& file,
const Import&
import)
const;