FormatArrayMemberArguments

Argument aggregate for invocations of prettyformatArrayMemberImpl.

Members

Aliases

elemQuoteSign
alias elemQuoteSign = valueQuoteSign

Alias to valueQuoteSign for consistency.

Enums

QuoteSign
enum QuoteSign

Refers to different kinds of quotation signs (e.g. ´"´ or ´'´).

Variables

bright
bool bright;

Whether or not we should compensate for a bright terminal background.

keyQuoteSign
QuoteSign keyQuoteSign;

What sign (e.g. ´"´ or ´'´) to use when quoting the key.

length
size_t length;

Original length of the array, prior to truncation.

memberstring
string memberstring;

Member name.

namewidth
uint namewidth;

Width (length) of longest member name.

truncated
bool truncated;

Whether or not the array was truncated due to being too large.

typestring
string typestring;

Type name.

typewidth
uint typewidth;

Width (length) of longest type name.

value
string[] value;

Value of member, as an array of strings.

valueQuoteSign
QuoteSign valueQuoteSign;

What sign (e.g. ´"´ or ´'´) to use when quoting the value.