|
|
using | ReportKind = Reportee::ReportKind |
|
using | IndexPair = std::pair<int64_t, int64_t> |
|
using | DiagnosticData = std::vector<std::pair<std::int64_t, std::string_view>> |
|
|
void | report (const Reportee &reports) const |
|
void | immediate_error (const std::string &str, Location l=Location(-1, -1), std::source_location src=std::source_location::current()) |
|
void | immediate_diag (const std::string &str, Location l=Location(-1, -1), std::source_location src=std::source_location::current()) |
|
void | immediate_warn (const std::string &str, Location l=Location(-1, -1), std::source_location src=std::source_location::current()) |
|
| Reporter (std::string file_name, std::string input, int64_t context_radius, bool dev_mode=false) |
|
|
static DiagnosticData | get_diagnostic_data (std::string_view str) |
|
static fmt::terminal_color | get_color_from (ReportKind report_kind) |
|
template<typename... T> |
| static void | print_fmt (fmt::terminal_color ts, fmt::format_string< T... > format_str, T &&...args) |
|
template<typename... T> |
| static void | print_fmt (fmt::color ts, fmt::format_string< T... > format_str, T &&...args) |
|
template<typename... T> |
| static void | print_fmt (const ReportKind report_kind, fmt::format_string< T... > format_str, T &&...args) |
|
static void | print_data_singular_line (std::string_view msg, int64_t col_start, int64_t col_end) |
◆ LINE_COLOR
| fmt::terminal_color sammine_util::Reporter::LINE_COLOR |
|
inlinestatic |
Initial value: =
fmt::terminal_color::bright_magenta
The documentation for this class was generated from the following files: