class

Codespan::Reporting::Term::Renderer

Inherits Reference < Object

Constructors

new(writer : IO, config : Config)
Source

Instance methods

render_empty
Source
render_header(locus : Locus | Nil, severity : Codespan::Reporting::Severity, code : String | Nil, message : String) : Nil
Source
render_label_line(label : Codespan::Reporting::Label) : Nil
Source
render_snippet_break(outer_padding : Int32, severity : Codespan::Reporting::Severity, num_multi_labels : Int32, multi_labels : Array(Tuple(Int32, Codespan::Reporting::LabelStyle, MultiLabel))) : Nil
Source
render_snippet_empty(outer_padding : Int32, severity : Codespan::Reporting::Severity, num_multi_labels : Int32, multi_labels : Array(Tuple(Int32, Codespan::Reporting::LabelStyle, MultiLabel))) : Nil
Source
render_snippet_note(outer_padding : Int32, note : String) : Nil
Source
render_snippet_source(outer_padding : Int32, line_number : Int32, source : String, severity : Codespan::Reporting::Severity, single_labels : Array(Tuple(Codespan::Reporting::LabelStyle, Range(Int32, Int32), String)), num_multi_labels : Int32, multi_labels : Array(Tuple(Int32, Codespan::Reporting::LabelStyle, MultiLabel))) : Nil
Source
render_snippet_start(outer_padding : Int32, locus : Locus) : Nil
Source