7#include <unordered_map>
57 std::filesystem::path header_path,
58 gsl::not_null<const TextFormatter *> format,
59 gsl::not_null<const UserDiagnostics *> diag)
60 : header_path_{std::move(header_path)}, format_{format}, diag_{diag}
88 template <
typename Entry>
91 std::filesystem::path header_path_;
94 mutable bool loaded_{
false};
95 mutable bool load_failed_{
false};
96 mutable std::unique_ptr<CParserFacade> driver_;
97 mutable std::unordered_map<std::string, std::uint16_t> name_to_value_;
98 mutable std::unordered_map<std::uint16_t, std::string> value_to_name_;
99 mutable std::unordered_map<std::string, SourcePosition> name_to_position_;
100 mutable std::unordered_map<std::uint16_t, SourcePosition> value_to_position_;
Abstract interface for providing two-way metatile behavior mappings.
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.