PrettyPrintable
An object that has a pretty text representation.
Functions
toDocument
Link copied to clipboard
Returns the pretty text representation of this object.
Inheritors
Document
Link copied to clipboard
Name
Link copied to clipboard
Type
Link copied to clipboard
Value
Link copied to clipboard
Extensions
grouped
Link copied to clipboard
Tries laying out this document into a single line by removing the contained Document.lineBreaks (and replacing them with spaces); if this does not fit the page, the document is laid out without any changes. This function is the key to layouts that adapt to available space nicely.
nested
Link copied to clipboard
Returns a new document that is this with the nesting level (indentation after newlines) increased by indentationChange. Negative values for indentationChange are allowed, and decrease the nesting level accordingly.
plus
Link copied to clipboard