nxt.pretty

Pretty Printing to AsciiDoc, HTML, LaTeX, JIRA Wikitext, etc.

Members

Classes

Viz
class Viz

Visual Backend.

Enums

SolarizedLightColorTheme_hexstring
enum SolarizedLightColorTheme_hexstring

Solarized light color theme.

VizForm
enum VizForm

Visual Form(at).

Functions

shortDurationString
string shortDurationString(Duration dur)
show
void show(Viz viz)

Show viz.

Manifest constants

ctxFaces
enum ctxFaces;

Key (Hit) Face Palette.

keyFaces
enum keyFaces;

Key (Hit) Faces.

Static variables

nonStateHTMLTags
auto nonStateHTMLTags;

HTML tags with no side-effect when its arguments is empty.

Structs

Face
struct Face

Face with color of type SomeColor.

Fazed
struct Fazed(T)

Fazed (Rich) Text.

Templates

Concise
template Concise(Tuple)

Meta

Authors

TODO Convert Viz param to delegate like for void toString(scope void delegate(scope const(char)[]) @safe sink) for independency on arsd.

Rename pp1 to ppL and pp to pp1 where relevant to reduce number of template instantiations. And replace multi-calls to viz.pp() to viz.pp1()

TODO Add tester that prints types from nxt.geometry

TODO Remove all restrictions on pp.*Raw.* and call them using ranges such as repeat

TODO Use "alias this" on wrapper structures and test!

TODO How should std.typecons.Tuple be pretty printed?

TODO Add visited member to keeps track of what objects that have been visited

TODO Add asGCCMessage pretty prints seq $PATH, ':', $ROW, ':', $COL, ':', message, '[', $TYPE, ']'