output Function

private pure function output(self)

Return formatted output of element.

Arguments

Type IntentOptional AttributesName
class(element_object), intent(in) :: self

element.

Return Value character(kind=len=:,UCS4), allocatable

Formatted output.

Calls

proc~~output~~CallsGraph proc~output output colorize colorize proc~output->colorize
Help

Source Code


Source Code

   pure function output(self)
   !< Return formatted output of element.
   class(element_object), intent(in)        :: self   !< element.
   character(len=:, kind=UCS4), allocatable :: output !< Formatted output.

   output = colorize(self%string, color_fg=self%color_fg, color_bg=self%color_bg, style=self%style)
   endfunction output