operator(//) Interface

public interface operator(//)

Functions

private pure module function concat_left(lval, code) result(str)

Concatenate an escape code with a string and turn it into an actual escape sequence

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: lval

String to add the escape code to

type(ansi_code), intent(in) :: code

Escape sequence

Return Value character(len=:), allocatable

Concatenated string

private pure module function concat_left_str(lval, code) result(str)

Concatenate an escape code with a string and turn it into an actual escape sequence

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: lval

String to add the escape code to

type(ansi_code), intent(in) :: code

Escape sequence

Return Value type(string_type)

Concatenated string

private pure module function concat_right(code, rval) result(str)

Concatenate an escape code with a string and turn it into an actual escape sequence

Arguments

Type IntentOptional Attributes Name
type(ansi_code), intent(in) :: code

Escape sequence

character(len=*), intent(in) :: rval

String to add the escape code to

Return Value character(len=:), allocatable

Concatenated string

private pure module function concat_right_str(code, rval) result(str)

Concatenate an escape code with a string and turn it into an actual escape sequence

Arguments

Type IntentOptional Attributes Name
type(ansi_code), intent(in) :: code

Escape sequence

type(string_type), intent(in) :: rval

String to add the escape code to

Return Value type(string_type)

Concatenated string