5#ifndef HOSHI_LANG_DIAGNOSTIC_ENGINE_H
6#define HOSHI_LANG_DIAGNOSTIC_ENGINE_H
36 const std::string &msg,
size_t warningCount() const
const std::vector< Diagnostic > & getDiagnostics() const
yoi::wstr m_currentFilePath
yoi::wstr getLineHint(const yoi::wstr &file, yoi::indexT line, yoi::indexT col) const
const yoi::wstr & getCurrentFilePath() const
void setCurrentFilePath(const yoi::wstr &path)
Set the file path for diagnostics reported via the convenience overload.
void setCategorySeverity(const std::string &label, DiagnosticSeverity severity)
size_t errorCount() const
void initDefaultCategorySeverity()
void report(const Diagnostic &diag)
DiagnosticSeverity getCategorySeverity(const std::string &label) const
Get the effective severity for a legacy category label.
std::map< std::string, DiagnosticSeverity > m_categorySeverityOverrides
std::vector< Diagnostic > m_diagnostics