§tiro_compiler_message
Represents a diagnostic message emitted by the compiler. More...
#include "tiro/compiler.h"
§Public Attributes
| Name | |
|---|---|
| tiro_severity_t | severity The severity of this message. |
| tiro_string_t | file The relevant source file. |
| uint32_t | line Source line (1 based). |
| uint32_t | column Source column (1 based). |
| tiro_string_t | 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_t severity;
The severity of this message.
§variable file
tiro_string_t file;
The relevant source file.
May be empty if there is no source file associated with this message.
§variable line
uint32_t line;
Source line (1 based).
Zero if unavailable.
§variable column
uint32_t column;
Source column (1 based).
Zero if unavailable.
§variable text
tiro_string_t text;
The message text.
Updated on 2022-02-27 at 21:17:13 +0100