§tiro::compiler_message
Represents a diagnostic message emitted by the compiler. More...
#include "tiropp/compiler.hpp"
§Public Attributes
Name | |
---|---|
tiro::severity | severity The severity of this message. |
std::string_view | file The relevant source file. May be empty if there is no source file associated with this message. |
uint32_t | line Source line (1 based). Zero if unavailable. |
uint32_t | column Source column (1 based). Zero if unavailable. |
std::string_view | text The message text. |
§Detailed Description
struct tiro::compiler_message;
Represents a diagnostic message emitted by the compiler.
All fields are only valid for the duration of the message_callback
function call.
§Public Attributes Documentation
§variable severity
tiro::severity severity = severity::error;
The severity of this message.
§variable file
std::string_view file;
The relevant source file. May be empty if there is no source file associated with this message.
§variable line
uint32_t line = 0;
Source line (1 based). Zero if unavailable.
§variable column
uint32_t column = 0;
Source column (1 based). Zero if unavailable.
§variable text
std::string_view text;
The message text.
Updated on 2022-02-27 at 21:17:13 +0100