pprint

package pprint

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. pprint
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Chunker[T] extends AnyRef

    There are a few main classes involved here:

  2. case class Colors(literalColor: String, prefixColor: String, endColor: String) extends Product with Serializable

  3. case class Config(width: Int = Config.defaultMaxWidth, height: Int = Config.defaultLines, depth: Int = 0, indent: Int = Config.defaultIndent, colors: Colors = pprint.Colors.BlackWhite, renames: Map[String, String] = Config.defaultRenames) extends GenConfig[Config] with Product with Serializable

    Configuration options to control how prettyprinting occurs, passed recursively into each prettyprinting callsite.

  4. trait GenConfig[T <: GenConfig[T]] extends AnyRef

    Helpers to help inject behavior into the generated code without having any circular dependencies

  5. trait GenUtils extends AnyRef

    Helpers to help inject behavior into the generated code without having any circular dependencies

  6. trait LowPriPPrinter extends AnyRef

  7. trait PPrint[A] extends AnyRef

    A typeclass necessary to prettyprint something.

  8. trait PPrinter[-A] extends AnyRef

    A typeclass you define to prettyprint values of type A

  9. trait PPrinterGen extends GenUtils

Value Members

  1. object Chunker extends PPrinterGen

  2. object Colors extends Serializable

  3. object Config extends Serializable

  4. object Internals

  5. object PPrint extends LowPriPPrint

  6. object PPrinter extends LowPriPPrinter

  7. def log[T](value: Text[T], tag: String = "", verbose: Boolean = false)(implicit arg0: PPrint[T], cfg: Config = Config.Colors.PPrintConfig, path: Name, line: Line): Unit

    Pretty-prints something to the console for you to look at, with a bunch of additional metadata (function-name, line-num, optional tag, etc.

    Pretty-prints something to the console for you to look at, with a bunch of additional metadata (function-name, line-num, optional tag, etc.) to make debugging easier

  8. def log2[T](value: Text[T], tag: String = "", verbose: Boolean = false)(implicit arg0: PPrint[T], cfg: Config = Config.Colors.PPrintConfig, path: Enclosing, line: Line): Unit

    More verbose version of log

  9. def pprintln[T](t: T, width: Integer = null, height: Integer = null, indent: Integer = null, colors: Colors = null)(implicit arg0: PPrint[T], cfg: Config = Config.Defaults.PPrintConfig): Unit

    Pretty-prints something to the console for you to look at.

  10. def pprintln[T](implicit arg0: PPrint[T], cfg: Config): (T) ⇒ Unit

  11. def tokenize[T](t: T, width: Integer = null, height: Integer = null, indent: Integer = null, colors: Colors = null)(implicit arg0: PPrint[T], cfg: Config = Config.Defaults.PPrintConfig): Iterator[String]

    Prettyprint a strongly-typed value, falling back to toString if you don't know what to do with it.

    Prettyprint a strongly-typed value, falling back to toString if you don't know what to do with it. Generally used for human-facing output

Inherited from AnyRef

Inherited from Any

Ungrouped