Dotty Documentation

0.2.0-bin-SNAPSHOT

trait Showable
extends Any

[-] Constructors

[-] Members

[+] def fallbackToText ( printer: Printer ) : Text

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

[+] def show ( implicit ctx: Context ) : String

The string representation of this showable element.

[+] def showSummary ( depth: Int ) ( implicit ctx: Context ) : String

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

[+] def showSummary ( implicit ctx: Context ) : String
[+] def toText ( printer: Printer ) : Text

The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.