struct

Cl8r::Diagnostic::Entry

Inherits Struct < Value < Object

Value struct representing a single diagnostic finding or error with source location.

Constructors

new(severity : Severity, code : String, message : String, file : String | Nil = nil, line : Int32 | Nil = nil, column : Int32 | Nil = nil)
Source

Instance methods

code
Source
column
Source
file
Source
line
Source
message
Source
severity
Source
to_gnu_s

Renders this diagnostic entry in standard GNU error format: file:line:col: severity: [CODE] message.

Source