11#include "gsl/pointers"
33 std::filesystem::path project_root,
34 gsl::not_null<const TextFormatter *> format,
35 gsl::not_null<const UserDiagnostics *> diag)
36 : project_root_{std::move(project_root)}, format_{format}, diag_{diag}
40 [[nodiscard]]
bool exists(
const std::string &layout_name_or_id)
const override;
87 std::filesystem::path project_root_;
92 mutable bool layouts_parsed_{
false};
93 mutable std::string layouts_table_label_;
94 mutable std::vector<ProjectLayoutMetadata> layout_entries_;
95 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.