render Interface

public interface render

Module Procedures

private pure recursive function render_diagnostic(diag, input, color) result(string)

Arguments

Type IntentOptional Attributes Name
type(toml_diagnostic), intent(in) :: diag
character(len=*), intent(in) :: input
type(toml_terminal), intent(in) :: color

Return Value character(len=:), allocatable

private function render_text(input, color, source) result(string)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input
type(toml_terminal), intent(in) :: color
character(len=*), intent(in), optional :: source

Return Value character(len=:), allocatable

private function render_text_with_label(input, label, color, source) result(string)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input
type(toml_label), intent(in) :: label
type(toml_terminal), intent(in) :: color
character(len=*), intent(in), optional :: source

Return Value character(len=:), allocatable

private pure function render_text_with_labels(input, label, color, source) result(string)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input
type(toml_label), intent(in) :: label(:)
type(toml_terminal), intent(in) :: color
character(len=*), intent(in), optional :: source

Return Value character(len=:), allocatable