Packages

c

scala.text

DocNest

case class DocNest(indent: Int, doc: Document) extends Document with Product with Serializable

Annotations
@deprecated
Deprecated

(Since version 2.11.0) this class will be removed

Source
Document.scala
Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, Document, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DocNest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Document
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DocNest(indent: Int, doc: Document)

Value Members

  1. def :/:(hd: String): Document
    Definition Classes
    Document
  2. def :/:(hd: Document): Document
    Definition Classes
    Document
  3. def ::(hd: String): Document
    Definition Classes
    Document
  4. def ::(hd: Document): Document
    Definition Classes
    Document
  5. val doc: Document
  6. def format(width: Int, writer: Writer): Unit

    Format this document on writer and try to set line breaks so that the result fits in width columns.

    Format this document on writer and try to set line breaks so that the result fits in width columns.

    Definition Classes
    Document
  7. val indent: Int