ammonite

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. case class Config(maxWidth: Int = 100, lines: Int = 0, depth: Int = 0, indent: Int = 2, literalColor: String = null, prefixColor: String = null, 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.

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

    maxWidth

    Controls how far to the right a line will go before it tries to wrap

    lines

    Controls how many lines can be printed at once. Will print all lines if set to 0

    depth

    How much the current item being printed should be indented

    renames

    A map used to rename things to more common names, e.g. renamig WrappedArray to Array or getting rid of TupleN *

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

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

  3. trait GenUtils extends AnyRef

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

  4. case class PPrint[A](a: PPrinter[A], cfg: Config) extends Product with Serializable

    A typeclass necessary to prettyprint something.

    A typeclass necessary to prettyprint something. Separate from PPrinter in order to make contravariant implicit resolution behave right.

  5. trait PPrinter[-A] extends AnyRef

    A typeclass you define to prettyprint values of type A

  6. trait PPrinterGen extends GenUtils

  7. case class Show[A](a: A, lines: Int) extends Product with Serializable

    Wrapper type for disabling output truncation.

    Wrapper type for disabling output truncation. PPrint(Full(value)) will always return the full output.

Value Members

  1. object Config extends Serializable

  2. object Internals

  3. object MacroContext

  4. object PPrint extends LowPriPPrint with Serializable

  5. object PPrinter

  6. object Unpacker extends PPrinterGen

Inherited from AnyRef

Inherited from Any

Ungrouped