11#include "gsl/pointers"
31 std::filesystem::path project_root,
32 gsl::not_null<const TextFormatter *> format,
33 gsl::not_null<const UserDiagnostics *> diag)
34 : project_root_{std::move(project_root)}, format_{format}, diag_{diag}
38 [[nodiscard]]
bool exists(
const std::string &layout_name_or_id)
const override;
79 std::filesystem::path project_root_;
84 mutable bool layouts_parsed_{
false};
85 mutable std::string layouts_table_label_;
86 mutable std::vector<ProjectLayoutMetadata> layout_entries_;
87 mutable std::map<std::string, std::size_t> layout_index_;
A result type that maintains a chainable sequence of errors for debugging and error reporting.
Abstract base class for applying text styling with context-aware formatting.
Abstract class for structured error reporting and diagnostic output.