package pretty
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- class CantonPrettyPrinter extends AnyRef
Adhoc pretty printer to nicely print the full structure of a class that does not have an explicit pretty definition
- trait Pretty[-T] extends AnyRef
Type class indicating that pretty printing is enabled for type
T
.Type class indicating that pretty printing is enabled for type
T
.See
PrettyPrintingTest
for examples on how to create instances.- Annotations
- @FunctionalInterface()
- trait PrettyInstances extends AnyRef
Collects instances of Pretty for common types.
- trait PrettyPrinting extends ShowUtil with PrettyUtil
Extend this trait to directly enable pretty printing via supertype.
- trait PrettyUtil extends AnyRef
Utility methods for constructing Pretty instances.
Value Members
- object Pretty extends ShowUtil with PrettyUtil with PrettyInstances
The companion object collects everything you might need for implementing Pretty instances.
The companion object collects everything you might need for implementing Pretty instances.
Import this as follows:
implicit val prettyMyClass: Pretty[MyClass] = { import Pretty._ ... }
- object PrettyInstances extends PrettyInstances
- object PrettyUtil extends PrettyUtil